LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Macros skip steps and/or stops in the middle of code

I'm running Excel 2003 SP2 on a Win 2000 Pro system and after nearly a
month of development my code occassionally stops working!

I am using a macros to copy a hidden sheet with graphs based on a pivot
table, rename the copy, and change the row field of the copied pivot
table (which changes the graphs). I use 19 of these macros to graph 19
different subjects (or row fields) each on their own newly created
sheet. If the macro is rerun it asks the user if they want to keep the
old sheet or delete and rerun. I don't beleive I've ever had a problem
running the 19 macros individually (save one, which inconsistantly
changes graphs from plotting by columns to rows).

I also have a macro which runs all 19 macros at once. The first time I
run that macro all 19 work fine. However if I rerun the "all" macro
some of the 19 work and others don't. Same problem if I run any of
the 19 individually after running the "all" macro. Which of the 19 to
have problems is not conistant nor are the problems. When I step into
the macros they either work fine or stop half way through (the macro is
no longer playing an a number of stops where never hit).

I have disabled "Auto Scale" fonts on the graph area formates. I have
also try to prevent file fragmentation by rebuilding the file without
macros and copying and pasting my code into the new file.

I've tried everything I can think of, spent days search the web, and am
now considering a month of work wasted. What is going on with my
file/code?

Thanks for any help you can give!

Teilen

 
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
Adding periods (full stops) to the middle of numbers Derek M[_2_] Excel Worksheet Functions 7 May 15th 23 03:41 AM
How many steps of Macros is support in Office Excel?? Chip Pearson Excel Discussion (Misc queries) 0 January 4th 08 08:25 PM
How many steps of Macros is support in Office Excel?? Dave Peterson Excel Discussion (Misc queries) 0 January 4th 08 07:51 PM
running macros, and not showing the steps bwilk77 Excel Discussion (Misc queries) 2 March 23rd 07 06:21 PM
Clean Up Code - consolidate steps Frantic Excel-er Excel Discussion (Misc queries) 6 June 30th 05 03:40 PM


All times are GMT +1. The time now is 03:13 PM.

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"