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.

Formatierung in Word ändern

Empfohlene Antworten

Hi,

ich möchte verschiedene Daten in einem Bericht fett machen. Ich habe folgenden Code :


Dim intKontrolle As Integer


intKontrolle = 1


Do

    Selection.Find.Execute



    intKontrolle = intKontrolle + 1



    With Selection.Find

        .Text = ".01.03"

        .Font.Bold = wdToggle

        .Forward = True

        .Wrap = wdFindContinue

        .Format = False

        .MatchCase = False

        .MatchWholeWord = False

        .MatchWildcards = False

        .MatchSoundsLike = False

        .MatchAllWordForms = False


    End With



   Loop Until intKontrolle = 10



End Sub

Es wird jetzt jedoch nicht die gewüschten 10 mal sondern nur einmal gesprungen. Was kann ich falsch gemacht haben ???

Trace das ganze doch mal durch.

Mach Dir vor der Schleife einen Breakpoint, und setz dann intKontrolle auf Überwachung. Dann stepe das ganze mal mit F8 durch.

mh also ich weiß nicht wo dein problem liegt bei mir macht er das ganze 10 mal

aber LoneGunman hat schon recht debugge das ganze doch mal dann müsstest du den fehler erkennen (wenns denn einen gibt ;) )

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.