+ Reply to Thread
Results 1 to 3 of 3

Iferror macro

  1. #1
    Registered User
    Join Date
    12-23-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    11

    Iferror macro

    I am trying to write a macro that puts =Iferror at the beginning of a formula, if it is not already there. I have created a macro that almost does this. The problems is that it does not work if the selection is greater than one cell. The code is shown below. Thanks!


    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    883

    Re: Iferror macro

    Have a look at the thread below
    http://www.excelforum.com/excel-prog...-formulas.html
    just add your if formula hasn't iferror test
    Last edited by WasWodge; 12-25-2012 at 11:04 AM.
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Iferror macro

    One way:

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

+ 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