+ Reply to Thread
Results 1 to 3 of 3

Clearing Cell contents takes unbelievably Long!

  1. #1
    Registered User
    Join Date
    10-06-2006
    Posts
    80

    Clearing Cell contents takes unbelievably Long!

    I run the following code at the start of my program and it takes unbelievably long (about 1 minute). Anyway to do the below much faster? Thanks.

    Thanks so much.

    Please Login or Register  to view this content.
    Last edited by Leith Ross; 12-14-2007 at 12:15 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202
    You must use Code tags when posting code!

    Your code will be slow if you Select the sheets & ranges before clearing, and even more so if you select them individually. You are also selecting whole columns, insrtead of the used cells.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346
    Try

    Please Login or Register  to view this content.
    And switch off page break view if it is on ( Tools> options > view > pagebreak off ) before you run the macro.

    A V Veerkar

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1