+ Reply to Thread
Results 1 to 4 of 4

Clear Content from Column

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    46

    Clear Content from Column

    Hi! I am trying to clear content from selected(active) column while excluding x1, x2, x3, x4 cells respectively.
    I have something like this right now. It doesn't work but looking for a solution across these lines.
    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Clear Content from Column

    Try this line instead of using loops
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    46

    Re: Clear Content from Column

    I don't want it to be necessarily be column B. It should depend on active selection of a cell or cells.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Clear Content from Column

    Try this code
    Please Login or Register  to view this content.

+ 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 a specific row contains a word, then clear specific content in corresponding column.
    By johansoder in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-18-2014, 05:38 PM
  2. How to clear content up to row 2?
    By simplyfocus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2012, 02:17 PM
  3. Clear Column Content
    By zit1343 in forum Excel General
    Replies: 3
    Last Post: 07-01-2011, 03:37 AM
  4. Macro To Clear All Content in a Column Except a List
    By princesakthi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2011, 10:41 AM
  5. Clear some content of a row
    By Nina07 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-01-2010, 08:37 AM
  6. Clear content
    By spoko in forum Excel General
    Replies: 2
    Last Post: 08-29-2007, 10:51 PM
  7. clear column content
    By owl527 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2006, 08:20 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