Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fenster mittels VBA fixieren

Empfohlene Antworten

Hallo Forum,

ich möchte einen Bereich einer Tabelle fixieren, d.h. dass er beim Scrollen

stehen bleibt.

Das erreicht man normalerweise mit "Fenster" --> "Fenster fixieren"

Ich möchte es allerdings mit VBA realisieren. Wie lautet die Eigenschaft

dazu?

nexcel.window.?

Danke schonmal für eure Hilfe...

Gruß

Druid :cool:

Range("A9").Select

ActiveWindow.FreezePanes = True

HTH,

s'Amstel

Range("A9").Select

ActiveWindow.FreezePanes = True

aus excel direkt funktioniert das ganze. aber ich will das ganze

aus Access heraus machen.

Ich habe folgenden Quelltext:


nexcel.Sheets("Tabelle2").Range("A1:AY2").Interior.ColorIndex = 36

nexcel.Sheets("Tabelle2").Columns("E").Borders(xlEdgeRight).LineStyle = xlContinuous

nexcel.Sheets("Tabelle2").Columns("E").Borders(xlEdgeRight).Weight = xlMedium

nexcel.Sheets("Tabelle2").Range("A3").Select

nexcel.Sheets("Tabelle2").ActiveWindow.FreezePanes = True

Er bringt mir allerdings immer die Fehlermeldung, dass das Objekt diese Eigenschaft oder Methode nicht unterstützt.

Aja: nexcel is ein Objekt, dass ich zuvor natürlich als Workbook - Objekt setze und durch nexcel.application.visible = true sichtbar mache..

Gruß

Druid :cool:

und Excel.Worksheet anstelle von Excel.Workbook?

Set wksNew = appExcel.Worksheets("meinBlatt")

s'Amstel

mein Fehler.

da activeWindow eine Eigenschaft der Methode application ist muss es


nexcel.application.activeWindow.freezepanes = true

Danke nochmal für deinen Tipp!

Gruß

Druid :cool:

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.