Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-05-2012, 10:13 AM
LKnomad LKnomad is offline simple change chart in VBA Windows XP simple change chart in VBA Office 2007
Novice
simple change chart in VBA
 
Join Date: Jul 2012
Posts: 8
LKnomad is on a distinguished road
Question simple change chart in VBA

I am trying to make a simple change to a single selected chart in a word document using VBA. I cannot seem to make this work. Any help appreciated.

The code that I have been trying looks like this:



Code:
 
Sub ChangePieChart()
 
Dim objshape as chart
  
 objshape.Height = 250 
     
End Sub
This should be so simple but I cannot figure it out. I get a variety of errors when I try different options.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple change chart in VBA It has to be simple...formula ClearSkies Excel 1 03-04-2011 01:06 PM
Simple or what? nebb Publisher 0 09-23-2010 07:00 AM
Converting manual chart to bar chart? aligahk06 Excel 0 07-03-2010 12:23 PM
Simple formulas den hobbelder Word 1 02-26-2010 01:53 PM
Chart colors change during slideshow chickasaw PowerPoint 0 02-06-2010 06:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft