VBA to VB.NET

J

John

Hi there,

I'm trying to copy some vba code to a new vb.net exe and am having trouble
with some of the vis constants (at least I think that's what they are). Can
anyone tell me from the example below:

a) what I need to add to each one ("vis...")?

and

b) Is there an easy way to look this sort of thing up in future?

Thanks

John

PS Note that I've got the visio application object at the top of the class
"Microsoft.Office.Interop.Visio.Application"

myShp.CellsSRC(visSectionObject, visRowXFormOut, visXFormWidth).FormulaU =
"87.97 mm"
 
A

Al Edlund

if you go to the object browser and search for, as an example,
visXFormWidth you will find it in the
"Microsoft.Office.Interop.Visio.VisCellIndices"

al
 
J

John

Perfect. Thanks Al.

Al Edlund said:
if you go to the object browser and search for, as an example,
visXFormWidth you will find it in the
"Microsoft.Office.Interop.Visio.VisCellIndices"

al
 

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