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.

Mithilfe eines Array an ein Bookmark springen

Empfohlene Antworten

Veröffentlicht

Hi Leute,

ich suche schon ne weile nach einer Loesung fuer ein Problem, bezueglich Makro-Programmierung in VBA Work 2003. Und zwar will ich an eine Stelle in einem Text, welches durch ein Bookmark gekennzeichnet ist, springen. Der normale Code fuer einen solchen Sprung ist ja folgender:

Selection.GoTo What:=wdGoToBookmark, Name:="Name"
Nun will ich allerdings mittels eines Array zu einem vorher bestimmten Bookmark springen. Hab da mal folgendes vorbereitet:
Private Sub CheckBox7_Click()


    bookmarkarray(1, 2, 3, 4) As Bookmarks 'oder vielleicht eher String??

        Dim n As Integer

        n = 2                 'so als test ob die uebergabe funktioniert

    Selection.GoTo What:=wdGoToBookmark, Name:="bookmarkarray(n)"

End Sub

Die checkbox ist nur mal so als test..also kommt spaeter was andres hin.

Natuerlich funktiniert das so nicht haha..:( kann mir jemand von euch helfen? Ich bekommen immer die fehlermeldung "Statement invalid outisde typeblock".Ich waere seeeeeeehhr gluecklich ueber etwas Hilfe von euch.

Gruss marko

Bearbeitet von angelhand

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.