Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need "Wait"(?)-command or standard macros for VB

Status
Not open for further replies.

ReiTerMaNiaC

Technical User
Sep 23, 2002
1
DE
hi!

i'm using visio 2000 and i'm trying to run two addons in the EventDblClick-cell. the first one marks some shapes on the sheet and the second one exports them to an access database.

RUNADDON("selectsomeshapes")+RUNADDON("Database Re-Export")

now, my problem is, that the first procedure(self-written module in visual basic) is too slow, so the second ("Database Re-Export") executes itself before the shapes are selected. so i get a database with all shapes on the sheet.

what i need: is there a small command or argument, like "wait", that makes the second procedure start a little bit later (yeah, i know it would depend on the speed of the computer to determine how much time would be needed)?
or
the standard macros (esp. "Database Re-Export" or "Database Export") included in visio, as VB files, so i can insert them in my VB-procedure. (don't know if it will work, but it's worth a try :) )
i already searched my visio-directory for any files, but couldn't find anything :(

thanx for any help

ReiTerMaNiaC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top