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.

Tabellenspalte in Word2000 Makro

Empfohlene Antworten

Veröffentlicht

Hi Leute ich habe ein verdammt großese Problem. Der folgende Code soll eine Tabelle in MSWord um die einzugebenden Daten ergänzen. Jatz sollen neue Tabellenzeilen unter die gerade erstellte Zeile und nicht darüber erstellt werden. Wo muß cih meinen Code ändern ?


Sub rechnungsentwurf()


Dim intPostenzaehler() As Integer

Dim strPostennummer As String

Dim intPosten As Integer

Dim intTicker As Integer

Dim curPostenpreis As Currency





intPosten = 1

intTicker = 0


intPosten = InputBox("Bitte geben sie die Anzahl der zu berechnenden Posten ein !")




ActiveDocument.Bookmarks("Wechsel").Select


    'Selection.InsertRows 1                          'Neue Zeile wird angelegt

    'Selection.Collapse Direction:=wdCollapseStart


Do While (intTicker <> intPosten)


    intTicker = intTicker + 1


strPostenname = InputBox("Bitte geben sie den " & intTicker & "ten Posten ein")

curPostenpreis = InputBox("Bitte geben sie den Preis des Postens ein.")


Selection.Text = intTicker


Selection.MoveRight Unit:=wdCell


Selection.Text = strPostenname


Selection.MoveRight Unit:=wdCell


Selection.Text = curPostenpreis


Selection.MoveLeft Unit:=wdCell, Count:=2


    Selection.InsertRows 1                          'Neue Zeile wird angelegt

    Selection.Collapse Direction:=wdCollapseStart


Loop





    MsgBox ("Auf Wiedersehen :-)")


End Sub


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.