Hi,
I'm trying to set a background using vba for a file that may be emailed to other machines; and where the background would periodically change based on user selections.
I have been able to change the background from my machine, using:
I have the image stored as an object within another worksheet that I would like to pull from.
"Sheet17"
it was named Picture 7 but I Changed it to ForcePic
Is there any way to take "Forcepic" from page 17 and set that as the background on another sheet using vba? For this example we can just say Sheet1
I've tried a lot of different options and keep coming up with object undefined errors resulting from my own ignorance with vba.
Any help or direction would be greatly appreciated.
Thank you!
I'm trying to set a background using vba for a file that may be emailed to other machines; and where the background would periodically change based on user selections.
I have been able to change the background from my machine, using:
Rich (BB code):
ActiveSheet.SetBackgroundPicture Filename:= _
"\\DTCDAT-VARO050\C_PBO_Users\A763789\My Documents\Images\Star Wars Spacefight.jpg"
I have the image stored as an object within another worksheet that I would like to pull from.
"Sheet17"
it was named Picture 7 but I Changed it to ForcePic
Is there any way to take "Forcepic" from page 17 and set that as the background on another sheet using vba? For this example we can just say Sheet1
I've tried a lot of different options and keep coming up with object undefined errors resulting from my own ignorance with vba.
Any help or direction would be greatly appreciated.
Thank you!