Thread: [Solved] simple change chart in VBA
View Single Post
 
Old 07-05-2012, 01:46 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That tells me you didn't have a shape object selected when you ran the code. Since you originally said you're:
Quote:
trying to make a simple change to a single selected chart in a word document using VBA
I didn't add any error-checking.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote