+ Reply to Thread
Results 1 to 4 of 4

Clear Contents of a column in a range variable

  1. #1
    Forum Contributor
    Join Date
    08-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    163

    Clear Contents of a column in a range variable

    im sure this is easy but I cant figure it out.
    I have a range variable named data I want to clear all the data in the 3rd column in the range variable I know how to reference a single location in the range variable but not a whole column. see example code below
    Please Login or Register  to view this content.
    thanks for any help on this.
    JD

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    43,970

    Re: Clear Contents of a column in a range variable

    Why not just set the range to C1 to C20?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    08-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Clear Contents of a column in a range variable

    because I don't want to delete that I set that as the range and do some data manipulation then place it back to the sheet in a different spot

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    43,970

    Re: Clear Contents of a column in a range variable

    Can't test it right now but maybe something like:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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] Clear Range Contents
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2013, 07:06 AM
  2. Replies: 3
    Last Post: 01-08-2013, 01:27 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. Clear Contents on Column
    By martinez_pedro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2012, 06:40 AM
  5. Clear contents of cells in a range, LEN=0
    By jenny_journalist in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-29-2009, 11:37 AM

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