FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

Markers using VBA

Startseite ' Community ' Automation and VBA ' Markers using VBA

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #34799
    HerveM1234
    Teilnehmer

    Hi,

    When I play this small macro :

    ActiveDatabase.TaskWindows(fpTaskWindowObjectList).Activate
    ActiveDatabase.Selection.SelectObject “2D Diagram.2D”
    ActiveDatabase.SelectedObject.Open = True
    ActiveDatabase.ActiveObject.CursorActive = True
    Windows(“2D Diagram”).Activate
    ActiveDatabase.ActiveObject.CursorActive = True
    ActiveDatabase.ActiveObject.ActiveCursor.PositionIndex = 20

    It fails on the last line, with the Runtime error 91. Then I press “debug”, and without modifying anything I press Play again. And it works fine !!!!

    If somebody could explain me this strange behaviour, thanks in advance.
    I’m using FlexPro7.

    @+

    #34801
    HerveM1234
    Teilnehmer

    Hi,

    When I play this small macro :

    ActiveDatabase.TaskWindows(fpTaskWindowObjectList).Activate
    ActiveDatabase.Selection.SelectObject “2D Diagram.2D”
    ActiveDatabase.SelectedObject.Open = True
    ActiveDatabase.ActiveObject.CursorActive = True
    Windows(“2D Diagram”).Activate
    ActiveDatabase.ActiveObject.CursorActive = True
    ActiveDatabase.ActiveObject.ActiveCursor.PositionIndex = 20

    It fails on the last line, with the Runtime error 91. Then I press “debug”, and without modifying anything I press Play again. And it works fine !!!!

    If somebody could explain me this strange behaviour, thanks in advance.
    I’m using FlexPro7.

    @+

    #34800
    Bernhard Kantz
    Teilnehmer

    This is a bug in FlexPro. It will be fixed in version 8.0.19.

    support@weisang.com

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.