Data Graphics configuring with VBA

Started by Visisthebest, March 08, 2021, 05:59:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

I am trying to use the Macro recorder to learn what Visio is doing programmatically when in the Data ribbon I am using the option under:
Advanced Data Graphics
and
Configure

to see how to configure data graphics programmatically to save users a lot of work doing manual configuration.

Unfortunately when the macro recorder is turned on, these options are turned off.

How can I find out how to make changes to data graphics programmatically?
(with these options one can configure which data graphics is used, what its position relative to the shape is, rules for showing icons etc).

Thank you for your help!
Visio 2021 Professional

Surrogate

#1
As i know not all actions can be recorded with macro recorder!

Also you can try use Event Monitor, this tool you can in SDK.
https://visualsignals.typepad.co.uk/vislog/2008/06/using-the-visio-event-monitor-tool.html
May be it can helps (just now i have Visio Standard, there is haven't Data ribbon and other tools)...

Visisthebest

Thank you Surrogate yes looking at the events generated and the changes made to the shapesheet should get me a long way in seeing how to automate these functionalities.
Visio 2021 Professional