Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I think this is an easy one...
I have a macro that creates a couple of charts. I am trying to create a function for the chart creation since most of the actions are the same. My question is how do I send a variable to be used as the chart object name.
For example, I want the "CH04" in the statement below to be sourced from a variable.
set chart = ActiveDocument.GetSheetObject("CH04")
Thanks.
Nevermind.... I was using the letter O instead of the number 0. Sorry to have bothered you.