+ Reply to Thread
Results 1 to 7 of 7

Clear N/A from any cells in Column B:P

  1. #1
    Registered User
    Join Date
    04-20-2009
    Location
    Cloverly, Maryland
    MS-Off Ver
    Excel 2003
    Posts
    60

    Clear N/A from any cells in Column B:P

    I want to create a macro that will clear “N/A” from any cells in Column B:P. What I have so far I pasted below however when I try to run it I receive an error message that reads ‘‘Wrong number of arguments or invalid property assignment’ Can you help me get this to work?

    Please Login or Register  to view this content.
    Last edited by Sal1; 01-07-2011 at 05:52 PM. Reason: Solved

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Clear N/A from any cells in Column B:P

    Do you mean "N/A" as a literal string or #N/A as in result of formula error ?

    If the latter, do you

    a) want to override the formulae

    b) have other error values in the range which should persist ? (eg #VALUE! etc...)

    A sample file might help clarify the above.

  3. #3
    Registered User
    Join Date
    04-20-2009
    Location
    Cloverly, Maryland
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Clear N/A from any cells in Column B:P

    Hi DonkeyOte, my apologies for not being clearer. I mean just the text N/A.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Clear N/A from any cells in Column B:P

    Perhaps then:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-20-2009
    Location
    Cloverly, Maryland
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Clear N/A from any cells in Column B:P

    Exactly, the result I needed. Thank you!

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Clear N/A from any cells in Column B:P

    Please Login or Register  to view this content.

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Clear N/A from any cells in Column B:P

    @waterserv, making a few assumptions there... [last row] ... though admittedly perfectly reasonable ones

+ 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