+ Reply to Thread
Results 1 to 2 of 2

Edit macro to skip over #ref! cells

  1. #1
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Edit macro to skip over #ref! cells

    Hi there,

    I have a worksheet which contains links to a folder where documents will eventually be placed. Currently the links all read "0" however when the relevant workbook in placed into the folder then the values will update. I have a macro (below) which looks up column F o see if the workbook has been placed into that folder. If so then the entire row is to be paste special/value.

    As the macro is doing this some cells are turned into "#ref!" errors (as the relevant worksheet is not in the folder to be linked to), this makes my code stop running. Is there a way to skip over these ref cells so that my macro can continue to up column F and paste special where appropreiate.


    Please Login or Register  to view this content.
    Thanks!
    :-D

  2. #2
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Re: Edit macro to skip over #ref! cells

    hi again,

    i think ive resolved this by using the "iserror" function in another column

    Thanks

+ 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