+ Reply to Thread
Results 1 to 8 of 8

Macro to clear #Value Items in Col B

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Macro to clear #Value Items in Col B

    I have written code to clear #Value items in Col b on sheet "statement" but these items are not being cleared


    Please Login or Register  to view this content.

    It would be appreciated if someone could assist me in amending my code
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to clear #Value Items in Col B

    Since you don't show us what it's doing and how the 'valid' values have been added; your 'correction' code makes no sense.
    The error is due to a formula error of some kind, in Formulas you can use the ISERROR() function, look that up.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Macro to clear #Value Items in Col B

    Those are not formulas, so you'd need:

    Please Login or Register  to view this content.
    Rory

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to clear #Value Items in Col B

    @rorya: you're giving the answer that the OP has in the macro

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Macro to clear #Value Items in Col B

    No, I'm not. Read carefully.

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Macro to clear #Value Items in Col B

    Thanks for help Rory

    Your code works 100%

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905
    Quote Originally Posted by rorya View Post
    No, I'm not. Read carefully.
    My mistake, read too fast :oops:

  8. #8
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Macro to clear #Value Items in Col B

    No Problem

+ 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] macro to find and clear unwanted Items
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2021, 08:26 AM
  2. [SOLVED] Macro to clear CF in Col B and copy non CF items
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2021, 08:50 AM
  3. [SOLVED] Macro to clear Fill Coloured items only from row 9 in Col E
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2020, 11:51 PM
  4. [SOLVED] Macro to clear specific Items
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2019, 03:00 AM
  5. Replies: 1
    Last Post: 06-21-2013, 04:05 AM
  6. Pivot table Clear Old Items
    By JonSparkes in forum Excel General
    Replies: 2
    Last Post: 03-05-2007, 07:08 AM
  7. [SOLVED] How to clear items on a form?
    By Grd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2005, 05:05 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