Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formatting Charts Using Macros

Hi,

How do I create and run a macro to format a bar graph in Excel? For example,
I want to change a bar to brown and then apply a gradient. Formatting text
seems easy enough, but I don't know how to create macros to format colors in
charts.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Formatting Charts Using Macros

If you have Excel 2003 or earlier, you can simply turn on the macro
recorder, perform the formatting manually, then examine the recorded code.
It won't be efficient code, but it will work, and it will give you the
syntax needed. I've written a couple guidelines for fixing up your recorded
macros:

http://peltiertech.com/WordPress/how...ecorded-macro/
http://peltiertech.com/WordPress/mak...dent-of-sheet/

If you are using Excel 2007, you can still use macros from 2003, usually
without major changes. However, the macro recorder doesn't record any
formatting you perform on shapes or charts. You could try using the help
files, but for over two years I've struggled with them.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"neesie214" wrote in message
...
Hi,

How do I create and run a macro to format a bar graph in Excel? For
example,
I want to change a bar to brown and then apply a gradient. Formatting text
seems easy enough, but I don't know how to create macros to format colors
in
charts.

Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
make macros in charts jana Charts and Charting in Excel 1 November 18th 08 08:57 AM
How do I update charts using macros Seng Charts and Charting in Excel 3 November 29th 05 06:02 PM
Formatting (macros or templates)? Sligerk Excel Discussion (Misc queries) 0 November 14th 05 04:21 PM
Excel Charts(Graphs) & Macros John Excel Discussion (Misc queries) 4 July 7th 05 09:26 PM
Macros & pie charts LMercier Charts and Charting in Excel 1 December 17th 04 02:11 PM


All times are GMT +1. The time now is 10:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"