+ Reply to Thread
Results 1 to 3 of 3

Clear Column Data with range

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Clear Column Data with range

    Hello:

    I have
    colpaste1 =Range("D2:D2")=BA
    colpaste3 =Range("D4:D4")=BC



    If Cell D2 = BA and D4= BC, i need VB Code to clear all contents in column BA to BC.


    Note: BA and BC are the columns

    Let me Know if you have any questions.
    Thanks.



    Riz
    Last edited by rizmomin; 06-15-2014 at 05:01 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Clear Column Data with range

    Hi,

    One way

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Clear Column Data with range

    Hi Richards:

    Thanks a lot...works great.
    Riz

+ 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. Clear Contents of column based on data in another column
    By wachao in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2014, 02:39 AM
  2. Clear Contents of a column in a range variable
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2014, 07:59 PM
  3. Replies: 1
    Last Post: 06-21-2013, 04:05 AM
  4. [SOLVED] Using named range to clear cell data
    By Nuffers in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2012, 07:23 PM
  5. Help with vba to clear a range when duplicate entry found in a particular column
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2012, 04:34 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