How to make "Horzontal Layout Left Align" through VBA for my Organization Chart?

D

devensuseless

How to make "Horzontal Layout Left Align" through VBA for my
Organization Chart?

I have generated Organization chart from tab delimited text file using
VBA. The TopElement i.e. Executive element should be Top Left most of
drawing page. But some times the top element is coming as center
aligned in drawing page.

The problem can be solved through Visio IDE by selecting TopElement and
clicking on "Horizontal Layout -> Left Align" icon on tool bar. Please
any body help me to do the same using VBA.

Thanks & Regards,
Devendra.
 
J

JuneTheSecond

Application.DoCmd visCmdAlignObjectMiddle
might selected shapes align horizontal.
 
D

devendranath1979

HI,

Thanks for your reply. I used the code you have given and run it. But
it is giving Error "Currently the feature is not enable in the system".
Please tell me how to enable the feature to run the code.

Thanks & Regards
Devendra
 

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