PC Review


Reply
Thread Tools Rate Thread

Apostrophes in Blank Cells

 
 
=?Utf-8?B?QmVu?=
Guest
Posts: n/a
 
      19th Sep 2005
I am importing Excel data that has what seems to be blank cells but on closer
inspection I can see an apostrphe in the formula bar. That's not a problem
because I have written a macro to identify apostrophes and clear the contents
of these cells.
The mystery is that when the same data is imported on a friend's computer
with the same version of Excel the apostrophe does not appear in his formula
bar (although they are still non-blank cells) and so my macro will not work
on his computer since it doesn't see the apostrophes. Although I can write a
different macro in his case, I am interested to know what setting in Excel is
responsible for showing apostrophes in blank cells on some computers but not
others.

Thank you
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      19th Sep 2005
If you have a formula that evaluates to "" (like =if(a1>0,"error","")) and it's
converted to values then you can see this apostrophe--but only if you have a
setting toggled on.

Tools|options|transition tab|check Transition navigation keys.

My macro that clears those entries consists of these manual steps:

edit|replace
what: (leave blank)
with: $$$$$ (my unique string)
replace all

then one more time
edit|replace
what: $$$$$
with: (leave blank)
replace all



Ben wrote:
>
> I am importing Excel data that has what seems to be blank cells but on closer
> inspection I can see an apostrphe in the formula bar. That's not a problem
> because I have written a macro to identify apostrophes and clear the contents
> of these cells.
> The mystery is that when the same data is imported on a friend's computer
> with the same version of Excel the apostrophe does not appear in his formula
> bar (although they are still non-blank cells) and so my macro will not work
> on his computer since it doesn't see the apostrophes. Although I can write a
> different macro in his case, I am interested to know what setting in Excel is
> responsible for showing apostrophes in blank cells on some computers but not
> others.
>
> Thank you


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Microsoft Excel Worksheet Functions 5 3rd Nov 2007 08:21 AM
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... amorrison2006@googlemail.com Microsoft Excel Programming 2 7th Jun 2007 09:27 PM
Imported Data creates blank cells that aren't really blank =?Utf-8?B?SmFja2llRA==?= Microsoft Excel Worksheet Functions 14 23rd Feb 2006 12:57 AM
how do i get rid of hidden apostrophes in cells? =?Utf-8?B?YnJva2VubW9ua2V5?= Microsoft Excel Worksheet Functions 4 17th Nov 2004 01:53 PM
VB- If first cell with formula is blank, all cells in column returns blank. mnhesh Microsoft Excel Misc 2 12th May 2004 05:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 PM.