FlexPro Forum – Discuss Your Topic!

Makro aus FPScirpt

Home > Community > Automation and VBA > Makro aus FPScirpt

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12876
    Michael KaufmannMichael Kaufmann
    Participant

    Hallo,

    kann ich ein Makro bzw. VBA-Skript
    Sub Makro()
    MsgBox “Hello”
    End Sub

    aus einem FPScript heraus aufrufen?

    Mit
    Dim Sum
    Sum = Application.Run(“Makro”)

    hatte ich leider keinen Erfolg.

    #8536
    Michael KaufmannMichael Kaufmann
    Participant

    Hallo,

    kann ich ein Makro bzw. VBA-Skript
    Sub Makro()
    MsgBox “Hello”
    End Sub

    aus einem FPScript heraus aufrufen?

    Mit
    Dim Sum
    Sum = Application.Run(“Makro”)

    hatte ich leider keinen Erfolg.

    #9384
    Bernhard KantzBernhard Kantz
    Participant

    Die Methode Run des Application-Objektes wird aus FPScript heraus nicht unterstützt; was das Fehlen des entsprechenden Eintrags im Assistenten nahelegt.
    Würde man dies zulassen, könnte man sehr schnell (etwa durch Verwendung der Methode Update() auf direkt oder indirekt das aufrufende Formelobjekt) endlose Aktualisierungskaskaden auslösen. Aus diesem Grund ist das Aufrufen von externem Code aus FPScript-Formeln nicht vorgesehen.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Makro aus FPScirpt’ is closed to new replies.