Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Formatting Performance

We seem to have an issue with formatting performance in our excel product
when trying to format (color, font, # format) ranges.

If we loop through the ranges and dynamically define the formats it is a lot
slower than copying and pasting formats from say a template sheet.

Can anyone speak to this issue? For I would prefer to remove the template
sheet, then we would not need to keep a template excel workbook.
Any advice would be appreciated. Thanks in advance.

Regards,
Adam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Formatting Performance

Adam,

If the range is large, looping through the range will take time in
comparison to a block operation like copy/paste.

If you know the range, or can determine it, could you try block operation
son that, something like


range("A3:B15").interior.colorindex = 3



--

HTH

RP
(remove nothere from the email address if mailing direct)


"Adam" wrote in message
...
We seem to have an issue with formatting performance in our excel product
when trying to format (color, font, # format) ranges.

If we loop through the ranges and dynamically define the formats it is a

lot
slower than copying and pasting formats from say a template sheet.

Can anyone speak to this issue? For I would prefer to remove the template
sheet, then we would not need to keep a template excel workbook.
Any advice would be appreciated. Thanks in advance.

Regards,
Adam



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
Excel2007 Conditional Formatting Slow Performance Issue Michael F Excel Worksheet Functions 1 June 26th 09 05:42 PM
Performance Joannie Excel Discussion (Misc queries) 2 March 26th 08 05:21 PM
Performance Measures and Conditional Formatting Giacomo Excel Worksheet Functions 0 January 31st 07 08:27 PM
Performance IF(IF or IF(AND Paul Dennis Excel Worksheet Functions 2 July 20th 06 05:24 PM
Bad performance jim Excel Programming 2 January 30th 05 03:08 PM


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