+ Reply to Thread
Results 1 to 4 of 4

Find cell based on formula result and delete contents

  1. #1
    Registered User
    Join Date
    10-06-2003
    Location
    Ashford, Kent - Working in London
    MS-Off Ver
    Office 365
    Posts
    95

    Find cell based on formula result and delete contents

    Hi everyone - Happy New Year to one and all!

    I always seem to get bogged down with the things that 'should' be easy to do!

    I have a formula generating a number in A1 and want to search for that number in column B and delete it when it's found. However, when I record the macro using 'Find' it just records the actual number that A1 contains rather than the contents of A1 no matter what they are.

    Any assistance would be much appreciated.

    Regards,

    Chris.
    Big Chris

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    replaces A1 if found in Col B

    Please Login or Register  to view this content.
    VBA Noob
    Last edited by VBA Noob; 12-29-2006 at 10:07 AM.
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-06-2003
    Location
    Ashford, Kent - Working in London
    MS-Off Ver
    Office 365
    Posts
    95
    That's fantastic VBA Noob....thank you so much for taking the time.

    Have a great weekend and 2007!

    Chris.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    You too

    VBA Noob

+ 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