E
eric
Hi !
I'm currently developing VBA from access to generate a Visio doc.
All is pretty well, but sometimes, I guess when I use grouped elements
(masters for example) there is a lot of crap
I need to keep an eye on each drop element (masters, lines ...)
If I drop a complex master made from grouped lines and then use
document_visio.pages(1).shapes.count
I'm going to have: 1
When I drop a line, or a master or anything else, and I want to modify it, I
need to have its number, in order to call it like that
Doc.Pages(p).Shapes.ItemFromID(21).CellSRC(....)
and this 21 is very different from the 1 I can have with the shapes.count
function.
I guess there is a different solution to resize master, color lines ...
but my application is pretty big and I don't want to rewrite all the code
Does anybony know the way to get the real number of items on a page ?
If you do, thank you, that'll be a great help
Eric
I'm currently developing VBA from access to generate a Visio doc.
All is pretty well, but sometimes, I guess when I use grouped elements
(masters for example) there is a lot of crap
I need to keep an eye on each drop element (masters, lines ...)
If I drop a complex master made from grouped lines and then use
document_visio.pages(1).shapes.count
I'm going to have: 1
When I drop a line, or a master or anything else, and I want to modify it, I
need to have its number, in order to call it like that
Doc.Pages(p).Shapes.ItemFromID(21).CellSRC(....)
and this 21 is very different from the 1 I can have with the shapes.count
function.
I guess there is a different solution to resize master, color lines ...
but my application is pretty big and I don't want to rewrite all the code
Does anybony know the way to get the real number of items on a page ?
If you do, thank you, that'll be a great help
Eric