+ Reply to Thread
Results 1 to 6 of 6

Clear Contents of range, offset and repeat

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Schenectady, NY
    MS-Off Ver
    Office 365
    Posts
    65

    Clear Contents of range, offset and repeat

    I'm having some trouble with a macro, hoping the gurus can help.

    I have a spreadsheet that has data in cells B8:F27 for a specific person. At the beginning of the year, this data needs to be wiped.

    The next person's data is in cells I8:M27 (same size and shape). And so on...

    I'm trying to write a macro to clear the contents of range B8:F27, skip to I8:M27, clear the contents, and continue doing so until there is no data.

    Here's my code so far:

    Please Login or Register  to view this content.
    Any guidance would be greatly appreciated.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Clear Contents of range, offset and repeat

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    Schenectady, NY
    MS-Off Ver
    Office 365
    Posts
    65

    Re: Clear Contents of range, offset and repeat

    Perfect! Thanks Norie!

  4. #4
    Registered User
    Join Date
    01-28-2014
    Location
    Schenectady, NY
    MS-Off Ver
    Office 365
    Posts
    65

    Re: Clear Contents of range, offset and repeat

    Remind me how to show this thread "resolved"?

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Clear Contents of range, offset and repeat

    I think there's something under Thread Tools for marking as solved.

  6. #6
    Registered User
    Join Date
    01-28-2014
    Location
    Schenectady, NY
    MS-Off Ver
    Office 365
    Posts
    65

    Re: Clear Contents of range, offset and repeat

    Thanks Again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If each cell in range equals 0 then clear contents of range and move to the next row
    By dagardner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-19-2014, 08:44 PM
  2. Clear cell contents based on offset of dropdown selection on another tab.
    By Drivium in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2013, 10:58 PM
  3. [SOLVED] clear contents of range
    By KATIEexcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-14-2012, 08:11 AM
  4. .offset clear range issue
    By kieranbop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-01-2012, 06:52 PM
  5. Target Offset and Clear Contents
    By happySpotter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2007, 12:00 PM

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