I'm not entirely certain this is even possible, I'm having real trouble with it.
I have a button which runs a macro, which consists of an autoshape rectangle, a piece of clipart, and then a piece of wordart layered on top, all grouped together.
As part of a macro, I want to be able to change the text of the wordart, and change the assigned macro (i.e. the macro initially changes the backgrounds on graphs to white for a print-friendly version, once it's run I want the text to change from "Print Version" to "Screen Version" and be linked to the macro which puts the colours back)
I can't seem to select the wordart object within a macro to change the text (if I have macro recording on I can't select the wordart object, if I start with it selected and "edit wordart" then the change isn't made and nothing is recorded, and if I manually set the Shapes("Wordart 1") which I know it should be, I get a runtime error as object not found)
Is it possible to use a macro to degroup, select the wordart, change the text, regroup and assign the new macro, and if so is it possible to force it to keep the same identifier for the object?
Can anyone suggest an alternative way around this?
Thanks!
EllieCat
I have a button which runs a macro, which consists of an autoshape rectangle, a piece of clipart, and then a piece of wordart layered on top, all grouped together.
As part of a macro, I want to be able to change the text of the wordart, and change the assigned macro (i.e. the macro initially changes the backgrounds on graphs to white for a print-friendly version, once it's run I want the text to change from "Print Version" to "Screen Version" and be linked to the macro which puts the colours back)
I can't seem to select the wordart object within a macro to change the text (if I have macro recording on I can't select the wordart object, if I start with it selected and "edit wordart" then the change isn't made and nothing is recorded, and if I manually set the Shapes("Wordart 1") which I know it should be, I get a runtime error as object not found)
Is it possible to use a macro to degroup, select the wordart, change the text, regroup and assign the new macro, and if so is it possible to force it to keep the same identifier for the object?
Can anyone suggest an alternative way around this?
Thanks!
EllieCat