Is it possible to link the cell in excel to the size of the shape

R

reallylost

Hi!

I was hoping i could get some help. I am currently designing a reactor, but
my calculations in excel keep changing the final size of the reactor. Is it
possible to link the cell in excel to the size of the shape in visio? For
instance if the calculations come to a height of 7cm, can visio automatically
take this number and adjust the reactor height accordingly

Any help is much appreciated
Thanks
 
B

Bernie Deitrick

Within Visio, you would need VBA code that references the various Excel object, and reads the value
of the correct cell: using code like

myValue = xlObject.xlWorkbookObject.xlWorksheetObj.Range("Address").Value

Then you could scale the size of the drawing object based on myValue

HTH,
Bernie
MS Excel MVP
 

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