LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Fixing Error 2029 (#NAME?)

Here is my problem, I am importing a CSV file that somewhere along the line got messed up. An alpha field managed to get a leading hyphen (ex: "-John Q Public"). When it gets imported, excel thinks it is a numeric value add an equals sign in front. Now the cell is an error (#NAME?). How can I programmatically fix the cell by removing the "=-"? I can identify it using IsError(rngCel.value), but I can not seem to modify the contents. Any suggestions?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 2029. How do I fix this error Ayo Excel Programming 4 November 10th 09 05:47 PM
Problem sorting by date after 2029 on Excel 2003 wtchywmn9 Excel Discussion (Misc queries) 1 October 29th 09 05:43 PM
Fixing a vlookup macro that returns #N/A error Grosvenor Excel Discussion (Misc queries) 1 February 8th 06 12:23 PM
Error 2029 using Find XL 97 jonnyexcelneill Excel Programming 1 November 25th 04 06:57 PM


All times are GMT +1. The time now is 01:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"