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
 
Top