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: 4
Default Read contents of #Name cell

My spreadsheet has imported text data and unfortunately the text in
one cell begins with an = sign which gives a #NAME error on the
spreadsheet. In VBA I simply want to read the contents of the cell
and put a single apostrophe in front of it to get rid of the #Name
error. When reading the cell I either get Error 2029 or if I use
the.text property I get #Name. How can I get to the contents? (which
is =--The service line has been turned off)
Here is what I want to do.
Cells(x,7).Text = " ' " & cells(x,7).Text
THANKS
 
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
read fold contents kevcar40 Excel Discussion (Misc queries) 2 September 10th 09 12:21 PM
How do I get Excel 2007 to 'read' cell contents to me, vocally? johnb609 Excel Discussion (Misc queries) 1 May 4th 08 01:48 AM
read contents of column 1 for particular string Bob Excel Discussion (Misc queries) 1 November 4th 07 10:18 PM
Can Excel's speech be made to read cell contents instead of macro placed text? [email protected] Excel Programming 7 May 5th 07 05:12 PM
Read the contents of the column VJ[_4_] Excel Programming 0 June 3rd 04 03:26 PM


All times are GMT +1. The time now is 01:40 PM.

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"