+ Reply to Thread
Results 1 to 3 of 3

reset value in a column

  1. #1

    reset value in a column

    Pleae can anyone advise me how to set reset a value to nothing
    depending on its current value using VBA.

    I have an excel column called 'New?' if the value is 'Y' I want to
    return it to null.
    Any help would be appreciated,
    Redge


  2. #2
    Norman Jones
    Guest

    Re: reset value in a column

    Hi Redog6

    Try:

    '=============>>
    Public Sub Tester001()
    Range("New").Replace What:="Y", _
    Replacement:="", _
    LookAt:=xlWhole, _
    MatchCase:=False
    End Sub
    '<<=============

    ---
    Regards,
    Norman



    <[email protected]> wrote in message
    news:[email protected]...
    > Pleae can anyone advise me how to set reset a value to nothing
    > depending on its current value using VBA.
    >
    > I have an excel column called 'New?' if the value is 'Y' I want to
    > return it to null.
    > Any help would be appreciated,
    > Redge
    >




  3. #3

    Re: reset value in a column

    Many thanks Norman - that worked fine - Redge


+ 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