Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Legends different when running the macro

Hi,

Im creating a pivot table and a pivot diagram by vba-programing, and have a
problem with the legends of the series.

I have one series for actual values, named €ś Actual€ť, and one for target
values, named €ś Target€ť. When I run my macro, the legends are just named
€śSeries1€ť and €śSeries2€ť. I have now stepped through the macro by using F8 and
the legends are named €ś Actual€ť and €ś Target€ť.
Why is the result different when I run my macro than when I step through it?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Legends different when running the macro

Hi
Some code would help a lot.
regards
Paul

On Feb 6, 7:44*am, Trond wrote:
Hi,

I’m creating a pivot table and a pivot diagram by vba-programing, and have a
problem with the legends of the series.

I have one series for actual values, named “ Actual”, and one for target
values, named “ Target”. When I run my macro, the legends are just named
“Series1” and “Series2”. I have now stepped through the macro by using F8 and
the legends are named “ Actual” and “ Target”.
Why is the result different when I run my macro than when I step through it?


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
HOW TO ADD LEGENDS IN CHART S. LALLY Excel Discussion (Misc queries) 1 April 9th 10 01:46 AM
Legends - Everyone stuck? LiAD Charts and Charting in Excel 3 September 12th 09 06:19 PM
dynamic legends? pczerny Excel Programming 0 April 2nd 07 07:06 PM
two legends Tina Charts and Charting in Excel 1 March 23rd 07 12:11 PM
Multiple Legends John T Charts and Charting in Excel 1 January 10th 06 07:54 PM


All times are GMT +1. The time now is 03:45 AM.

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

About Us

"It's about Microsoft Excel"