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.

Adresse aus Excel in Word (Textmarke) einfügen

Empfohlene Antworten

Hallo,

Ich möchte per VB eine in Excel ausgewählte Adresse automatisch durch Öffnen eines Worddokumentes dort an einer Textmarke einfügen.

Kann mir da jemand eine Hilfe vorschlagen ?

Bin für jede Hilfe dankbar.

Gruß

Dieter

hallo dieter,

darf ich fragen weshalb?

word bringt doch schon einen datenbank konnekt mit,

hier kannst du auch von excel dateien einlesen...

Hallo Dr. Bakterius,

Ich habe ein Excel-Büro-Center geschrieben, aus dem verschiedene Programme, diverse, spezifische Tabellen, Masken etc. aufgerufen werden. U.a. Rechnungserstellung und Dokumentenerstellung. Die Adressbasis wird aus einem externen Pogramm automatisch importiert. Da ich aus diesem Excel-Center eine Adresse auswähle. möchte ich im nächsten Schritt ein Worddokument öffnen und die selektierte Adresse dort an einer Textmarke einfügen.

Gruß Dieter

  • 2 Wochen später...

huhu,

hoffe das hilft dir:

Sub WordZugriffVonExcell()

Dim AppWD As New Word.Application

With AppWD

.Visible = True

.Activate

.Documents.Open ("C:\1.doc")

.Selection.GoTo What:=wdGoToBookmark, Name:="test"

.Selection.Paste

.ActiveDocument.Close SaveChanges:=True

.Quit SaveChanges:=False

End With

Set AppWD = Nothing

End Sub

Hallo

Vielen Dank !!

Jetzt sehe ich wieder Licht am Horizont.

Gruß

Dieter

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.