+ Reply to Thread
Results 1 to 2 of 2

#NAME? error

  1. #1
    Registered User
    Join Date
    07-17-2007
    Posts
    1

    Thumbs up #NAME? error

    I have created a macro that compares two rows and colors all differences in values for those two records/rows.
    Basically the Excel sheet contains data from two Databases and the macro compares the 2 sets of records cell by cell.

    For few cells I am having the content as "#NAME?" for which my macro throws an error while comparing. It is nt treating the cell data as a String. This is probebly bcoz the contents are like "=FGGFK" which Excel confuses a wrong function and replaces it with a "#NAME?".


    Hw to resolve this .

    Thanks
    Ankur Kapoor

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Ankur Kapoor,

    Here is a VBA macro code example of how to determine if a cell has an error, and then display the appropriate error message in a message dialog box.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ 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