D
David Hawkins
Hello,
I'm new to Visio VBA development and miss the macro recorder feature of
Excel. Looking for help with a few Visio.Shape parameters for Visio 2000
Professional.
Dim rectObj As Visio.Shape
Set rectObj = ActivePage.DrawRectangle(10, 10, 12, 12)
rectObj.Text = "testing..." + vbTab + "1.2.3" + vbTab + "testing..."
rectObj.Cells("Char.Size[1]").Formula = "= 8 pt."
rectObj.Cells("LineColor") = 1
rectObj.Cells("Fillforegnd") = 5
How do I
1. Set the background to transparent (FillForegndTrans crashes) can't see
ojbect below.
2. Set the font to Bold
3. Set tabStops at 0.5" and 1.5"
4. Center and Left Align text
5. Set the line width (or line weight)
6. Set the line patter (dashed or solid)
Thank you,
David
I'm new to Visio VBA development and miss the macro recorder feature of
Excel. Looking for help with a few Visio.Shape parameters for Visio 2000
Professional.
Dim rectObj As Visio.Shape
Set rectObj = ActivePage.DrawRectangle(10, 10, 12, 12)
rectObj.Text = "testing..." + vbTab + "1.2.3" + vbTab + "testing..."
rectObj.Cells("Char.Size[1]").Formula = "= 8 pt."
rectObj.Cells("LineColor") = 1
rectObj.Cells("Fillforegnd") = 5
How do I
1. Set the background to transparent (FillForegndTrans crashes) can't see
ojbect below.
2. Set the font to Bold
3. Set tabStops at 0.5" and 1.5"
4. Center and Left Align text
5. Set the line width (or line weight)
6. Set the line patter (dashed or solid)
Thank you,
David