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.

".dot" aus Outlookformular öffnen ?

Empfohlene Antworten

Hallo Zusammen,

habe da ein kleines Problem, das ich gerne mit VBS lösen würde.

Habe hier ein Outlookformular gebastelt aus dem vom User per Knopfdruck eine ".dot"-Dokumentenvorlage geöffnet werden soll.

Nun suche ich nach einer Möglichkeit dies zu realisieren, da ich noch Anfänger in VBS bin bräuchte ich einen kleinen Denkanstoss.

Bin für jede Hilfe dankbar.

Mfg

Superuser

Hi,

dieser Code öffnet Dir zumindest schonmal Word. Wie Du jetzt das Dokument selber noch öffnest musst Du noch rausfinden.

Sub cmdGo_Click

Dim MyObject

Set MyObject = GetObject("C:\test.doc")

Set MyApp = MyObject.Application

MyApp.Visible = True

end sub

Sorry hab keine Zeit mehr weiter zu testen.

Hallo,

danke erstmal für Deine Antwort. Das Script funktioniert auch super, und ich kann die Word-Vorlage auch ohne weiteres öffnen.

Wüsste jetzt nur noch gerne, wie man aus der Wordvorlage direkt ein neues Dokument erstellen kann (also keine Vorlage).

Bei Word geht das glaube ich mit "Document.Add" gibts was vergleichbares unter VBScript ?

Habe schon mit dem Gedanken gespielt eine Worddatei als Hilfe aufzurufen und aus dieser mittels VBA dann das Dokument zu erzeugen, aber das muss doch auch irgendwie eleganter gehen oder ?

Mfg

Superuser

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.