K
km7516
Have a visio document with hundreds of pages that define a standard
configuration. Each page represents a site specific configuration diagram
with text boxes that should contain site specific configuration data. The
data is in Excel all version 2003 and this won't change going to 2007 isn't a
option.
What I'm trying to figure out is how to pull or push the data contained in
an excel worksheet into the specific fields (text boxes). I've enable the
linkages to Excel and have had some initial success, however I don't
understand enough of Visio pull the data from excel using VBA.
I could do this by hand though the client has demonstrated a tendancy to
randomly change the data for sites which means having an automated approach
will same time in the long run.
What I want to do is open the visio document, open the excel
workbook/worksheet (this is real easy since I code this all the time), parse
through the workbook looking for a change indicator, when a change is
indicated find the correct visio page, activate that page and then pull the
data from the excel spreadsheet and populate the correct locations in on the
page (actually replace place holder data).
I've searched the web for examples of code, downloaded the SDK for visio and
I'm just not having any luck. A generic answer though appreciated isn't
going to help.
Thank you in advance,
configuration. Each page represents a site specific configuration diagram
with text boxes that should contain site specific configuration data. The
data is in Excel all version 2003 and this won't change going to 2007 isn't a
option.
What I'm trying to figure out is how to pull or push the data contained in
an excel worksheet into the specific fields (text boxes). I've enable the
linkages to Excel and have had some initial success, however I don't
understand enough of Visio pull the data from excel using VBA.
I could do this by hand though the client has demonstrated a tendancy to
randomly change the data for sites which means having an automated approach
will same time in the long run.
What I want to do is open the visio document, open the excel
workbook/worksheet (this is real easy since I code this all the time), parse
through the workbook looking for a change indicator, when a change is
indicated find the correct visio page, activate that page and then pull the
data from the excel spreadsheet and populate the correct locations in on the
page (actually replace place holder data).
I've searched the web for examples of code, downloaded the SDK for visio and
I'm just not having any luck. A generic answer though appreciated isn't
going to help.
Thank you in advance,