Link to home
Start Free TrialLog in
Avatar of vic123
vic123

asked on

Visio "back" button functionality

Hello, I know how to make off-page reference through Format/Behavior/DblClick, however I'm wondering is it possible anyhow to go back from where I came from. For example I reference page3 both from page1 and page2, I would like to go to page1 if I have clicked reference on page1 before and to page2 if I have came to page3 from page2.
Probably some macro? I have somewhat older Visio version API help and there I could not find any property of kind "Previous Page".
Thank you.
Avatar of TOPIO
TOPIO
Flag of United States of America image

Not directly using standard visio functionaity
what you want to do requires a custom Macro
with VBA code to keep track of the page you are coming from.
Avatar of vic123
vic123

ASKER

Is there any event upon page change that I can use for implementing of such functionality?
I mean - how can I get notified for page change and can I distinguish if it was done through shape double click or manually? Or I have to goto (initally, first time) to another page with macro (which will save current page in some stack) too?
Do you have such or some close (from processing point of view) sample macro? I'm not sure I can keep "static" data stack inside VBA. And generally (I have some  experience in Visio automaticg) I think I had some misunderstanding of custom functions callings from ShapeSheet, suppose have been doing some stupid mistake that was left unrevealed.
Thank you.
I think this is a separate question
Avatar of vic123

ASKER

FINE. Tell me how much additional points would you like for the solution I need. However keep in mind that I did not mention in initial post that i'll assume acknowledgement of my own understanding of the problem as an answer.
Nevertheless thank you for reply, I will not "punish" you with rating if you are unable to solve it.
ASKER CERTIFIED SOLUTION
Avatar of TOPIO
TOPIO
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial