Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Excel 2007 macro help

I've recorded a macro that opens a csv file and then applies quite a lot of
formatting, including setting page titles, freezing panes, autofitting
colums, and more.

When I run the macro it works ok, but it takes quite a bit of time to run.
Is there anyway of speeding this up, or is this to be expected?

Thanks for any help
--
Michelle
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Excel 2007 macro help

Hi Michelle,

You could try inserting the following line of code at the start of your code

Application.ScreenUpdating = False

and then insert the following code at the end of your code

Application.ScreenUpdating = True

--
Regards,

OssieMac


"Michelle" wrote:

I've recorded a macro that opens a csv file and then applies quite a lot of
formatting, including setting page titles, freezing panes, autofitting
colums, and more.

When I run the macro it works ok, but it takes quite a bit of time to run.
Is there anyway of speeding this up, or is this to be expected?

Thanks for any help
--
Michelle

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
EXCEL MACRO 2007 BobF Excel Discussion (Misc queries) 3 July 9th 09 05:45 PM
help with macro in Excel 2007 Michelle Excel Discussion (Misc queries) 1 February 10th 09 03:59 AM
Excel 2007 Macro Help (Excel 2003 not working in 2007) Pman Excel Discussion (Misc queries) 4 May 29th 08 06:29 PM
Excel 2007 - Macro Not Available Angie Excel Discussion (Misc queries) 3 February 7th 08 08:11 PM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM


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