Sub CommandButton1_Click()
' *****************************************************************************************
' * Code 18/19.10.05: Hajo_Zi, Herbers Excel-Server (Hinweis von jinx); angepasst Beverly *
' *****************************************************************************************
Dim StDateiname As String
StDateiname = InputBox("Bitte Dateinamen der Worddatei eingeben!")
Dim appWord As Object
If Dir(StDateiname) = "" Then
MsgBox "Word-Dokument nicht gefunden"
Else
Set appWord = CreateObject("Word.Application")
appWord.Documents.Open StDateiname
End If
' Word makro aufrufen
appWord.Run "Einfue_ZA"
appWord.Quit
Set appWord = Nothing
End Sub
SelfCert für Excel-Macro
kvtv 31.03.2007 - 65 Hits - 2 Antworten
DoCmd.GoToRecord Macro zur Änderung in Tabelle
Booyeoo 03.06.2007 - 115 Hits - 11 Antworten
macro über einen command button
bambambigelow 11.08.2007 - 72 Hits - 3 Antworten
ich möchte ein Macro unter Excel beenden nud direkt speichern
LothiWi 24.01.2008 - 56 Hits -
Macro zuweisen
gast89 23.03.2008 - 24 Hits - 1 Antwort