Additional question: How to programmatically "change the position type"?

B

Bob Ford

I tried the "record new macro" functionality but it is not registering.
Pls advise. Thanks.
 
D

Daniel Rohwer

Bob,

What are your security settings set to? Perhaps you need to allow Macros.

Hope this helps.

Daniel Rohwer
 
B

Bob Ford

I change security settings and still the same. I was able to gather some
code other steps, like changing, moving objects. But it wont generate a vba
code when changing the position type.
pls advise.
 
M

Mark Nelson [MS]

The Organization Chart diagram is controlled through a Visio add-on. These
do not expose their functionality to automation. However, the setting you
want is actually stored in the shape itself. Change the User.ShapeType cell
to a different value. Something like the code below:

Shape.CellsU("User.ShapeType").ResultIU = 1

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top