Drawing Scale

R

Ray Batig

Greetings,

When I set up a drawing page I set a scale. How do I read this value using
vba?

Thanks for you help!
 
J

JuneTheSecond

Use ResultStr property.
Debug.Print shp.Cells("Prop.Row_1").ResultStr("")
might return it as string.
 
A

Al Edlund

pages and documents have associated 'shapes' to store their shapesheet data
within.

something like this

dim visPage as visio.page
dim visPageSheet as visio.page
dim visCell as visio.cell
set visPage = application.activepage
set visPageSheet = visPage.pagesheet
if visPagesheet.cellexists("pagescale",false) = true then
set visCell = vispagesheet.cells("pagescale")
' do something with the information
end if
 
Top