Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 07-05-2012, 02:13 PM
macropod's Avatar
macropod macropod is offline simple change chart in VBA Windows 7 64bit simple change chart in VBA Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,523
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

Try:
Code:
Sub ChangePieChart()
With Selection
  If .ShapeRange.Count > 0 Then
    .ShapeRange(1).Height = 250
  ElseIf .InlineShapes.Count > 0 Then
    .InlineShapes(1).Height = 250
  End If
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


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 04:08 PM.


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