-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Markers using VBA
Home > Community > Automation and VBA > Markers using VBA
- This topic has 2 replies, 2 voices, and was last updated 15 years, 9 months ago by HerveM1234.
-
AuthorPosts
-
March 13, 2009 at 8:13 pm #12383HerveM1234Participant
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.@+
March 13, 2009 at 8:13 pm #8066HerveM1234ParticipantHi,
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.@+
March 13, 2009 at 9:31 pm #8590Bernhard KantzParticipantThis is a bug in FlexPro. It will be fixed in version 8.0.19.
-
AuthorPosts
- You must be logged in to reply to this topic.