Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Best way to trap error to MsgBox "Too many cell formats"

2003 & 2007

Seem to be running into this error more often than in the past.

Personally, I know how to avoid it but I review others' worksheets. As part of my review, I run a
series of macros. For some reason, I can not seem to trap this error.

My macro seems to finish normally yet all the special formatting (in my macro) stops a some point
probably at 4086 formats.

I would like to know when this happens with a message box so than I can save the file, re-open it
and continue where the macro crashed.

I have If err.number MsgBox "Too Many Formats" all over the code but ...

Thanks for any thoughts

EaglrOne
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
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
"Too many different cell formats" error in Excel GD Excel Worksheet Functions 1 June 14th 06 04:25 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 09:32 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"