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.

eine Word Datei aus Access öffnen

Empfohlene Antworten

Ich hab da ein Problem ich möchte, nach klicken auf einen Button, dass eine Word Datei geöffnen wird. Kann mir da jemand weiterhelfen? :confused:

Hi!

Wenn Du eine neue Worddatei öffnen willst, geht das mit diesem ProgrammCode ( für Access 97 ):

Für Befehl0_Click kannst Du den Namen Deines Buttons setzen.

------------------------------------------------------------------------

Private Sub Befehl0_Click()

Dim appWord As Word.Application

On Error Resume Next

'Testen, ob Word aktiv ist

Set appWord = GetObject(, "Word.Application.8")

If Err.Number <> 0 Then

'Word ist nicht aktiv

Err.Clear

'Neue Word Instanz schaffen

Set appWord = CreateObject("Word.Application.8")

'Anzeigen

appWord.Documents.Add

appWord.Visible = True

Else

'Word aktivieren und neues Dokument erstellen

appWord.Activate

appWord.Documents.Add

appWord.Visible = True

End If

End Sub

----------------------------------------------------------------------------

Gruss

danke schön kann ich so eigentlich auch schon bestehende dokumente anzeigen?

Hi!

Na sicher geht das. ;)

-----------------------------------------------------------------

appWord.Documents.Open FileName:="Deine Datei"

-----------------------------------------------------------------

Viel Spass

Dank dir nochmal.

Musste deinen quelltext für access2000 aba nochmal umschreiben in access2000 gibt es den datentyp

Word.Application nicht also muss die zeile umgeschrieben werden

dim appWord as Object

dann funzt es auch wieder.

mfg

a1nett

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.