Hello All,
First post here so please be kind.
Do you know the best way in Excel VBA to Copy a range, Open Word, Paste it as a Picture and then, change the dashboard to show a different chart(because my file is a dashboard similar to Chandoo's "Interactive Chart" using pick lists), copy that range again and paste it as a picture to the same word doc?
In my dashboard, which is downloaded from our company's Intranet, the User will Activate 4 cells which become, [valFacilityPicked] , [valDomainPicked] , [valLocationPicked] , and [valQuestionPicked]. Once all four are picked the dashboard shows a different chart.
Now, I envision a way to automagically copy each of the 10 possible charts for the users picked Location and the 10 Questions that there are for that Location will be pasted as pictures on their own landscaped pages in Word.
Having excel know what word doc to add the paste to each time is my problem. Depending who opens this it could be in many different network directories so referencing the same directory is where I am stumped.
I have been searching Google for a while with little results. I would hate to record a macro and run through all those steps, but I don’t think it records what I do in Word. Do I have to record a macro in word to get the code I would need to format the word page? This still wont solve my problem with getting the same word doc to paste into. Do I need to create a predefined word doc and use that each time?
I would post my file but I dont think I can share the information it has.
Thanks in Advance,
First post here so please be kind.
Do you know the best way in Excel VBA to Copy a range, Open Word, Paste it as a Picture and then, change the dashboard to show a different chart(because my file is a dashboard similar to Chandoo's "Interactive Chart" using pick lists), copy that range again and paste it as a picture to the same word doc?
In my dashboard, which is downloaded from our company's Intranet, the User will Activate 4 cells which become, [valFacilityPicked] , [valDomainPicked] , [valLocationPicked] , and [valQuestionPicked]. Once all four are picked the dashboard shows a different chart.
Now, I envision a way to automagically copy each of the 10 possible charts for the users picked Location and the 10 Questions that there are for that Location will be pasted as pictures on their own landscaped pages in Word.
Having excel know what word doc to add the paste to each time is my problem. Depending who opens this it could be in many different network directories so referencing the same directory is where I am stumped.
I have been searching Google for a while with little results. I would hate to record a macro and run through all those steps, but I don’t think it records what I do in Word. Do I have to record a macro in word to get the code I would need to format the word page? This still wont solve my problem with getting the same word doc to paste into. Do I need to create a predefined word doc and use that each time?
I would post my file but I dont think I can share the information it has.
Thanks in Advance,