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.

Schablone in Visio automatisch per Makro laden

Empfohlene Antworten

Hallo zusammen

Ich habe ein kleines Makro geschrieben, welches eine bestimmte Schablone zu meiner Standardvorlage laden soll.

Bei der .vsd-Datei klappt dies prima, jedoch möchte ich das Makro auch in der Vorlage, also in der .vst-Datei einbinden. Doch da gibt es eine Fehlermeldung, nämlich, dass der Dateiname ungültig ist. Bitte um Hilfestellung, wäre super.

Hier der Code:

Public Sub SchabloneAuf()

    Dim docSchablone As Document

    Dim DateiPfad As String

    Dim DateiPfad2 As String


    DateiPfad = Application.ActiveDocument.Path

    DateiPfad2 = DateiPfad + "VisioSchablone.vss"

    On Error GoTo Beenden

    Set docSchablone = Application.Documents.OpenEx(DateiPfad2, visOpenDocked)

    Exit Sub

Beenden:

    MsgBox "Die Schablone konnte nicht gefunden werden. Bitte überprüfen Sie, " & vbCr & "ob die Schablone und die Vorlage am gleichen Ort abgelegt sind."

End Sub

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.