#1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Apostrophe

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Apostrophe

A leading apostrophe is treated as a formatting character. To the best of
my knowledge, there is no setting that would cause it not to be displayed in
the formula bar if it exists.

Perhaps you need to look at the data source and see if it contains such
apostrophies.

--
Regards,
Tom Ogilvy


"Ben" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Apostrophe

Check ToolsOptionsTransition, and see if the Transition navigation keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Apostrophe

Just for info, that didn't affect the visibility of a leading apostrophe in
Excel 2003.

--
Regards,
Tom Ogilvy


"Bob Phillips" wrote in message
...
Check ToolsOptionsTransition, and see if the Transition navigation keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Apostrophe

BTW, your macro should be flexible to cater for both situations. Check for a
leading apostrophe, and only clear it if there. No different macro required.

--
HTH

Bob Phillips

"Bob Phillips" wrote in message
...
Check ToolsOptionsTransition, and see if the Transition navigation keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Apostrophe

One day, I will install 2003 <G

Bob

"Tom Ogilvy" wrote in message
...
Just for info, that didn't affect the visibility of a leading apostrophe

in
Excel 2003.

--
Regards,
Tom Ogilvy


"Bob Phillips" wrote in message
...
Check ToolsOptionsTransition, and see if the Transition navigation

keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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







  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Apostrophe

If I had a formula that evaluated to "", and then converted to values, this
setting showed that apostrophe.

(also xl2003)

Tom Ogilvy wrote:

Just for info, that didn't affect the visibility of a leading apostrophe in
Excel 2003.

--
Regards,
Tom Ogilvy

"Bob Phillips" wrote in message
...
Check ToolsOptionsTransition, and see if the Transition navigation keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Apostrophe

You've got another reply to your post in .excel

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
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Apostrophe

Maybe that is what Bob meant -- then I withdraw my comment as I actually
entered a single quote in the cell.

--
Regards,
Tom Ogilvy

"Dave Peterson" wrote in message
...
If I had a formula that evaluated to "", and then converted to values,

this
setting showed that apostrophe.

(also xl2003)

Tom Ogilvy wrote:

Just for info, that didn't affect the visibility of a leading apostrophe

in
Excel 2003.

--
Regards,
Tom Ogilvy

"Bob Phillips" wrote in message
...
Check ToolsOptionsTransition, and see if the Transition navigation

keys
box is checked, if so, uncheck it.

--
HTH

Bob Phillips

"Ben" wrote in message
...
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
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
Apostrophe in cell Chip[_2_] Excel Discussion (Misc queries) 3 January 1st 09 04:29 PM
Always have apostrophe snax500 Excel Discussion (Misc queries) 5 June 22nd 07 08:26 PM
Delete apostrophe Susana Conklin via OfficeKB.com Excel Discussion (Misc queries) 2 December 3rd 04 08:15 PM
Add apostrophe Tony Wainwright Excel Worksheet Functions 4 October 29th 04 01:50 PM
Add apostrophe Tony Wainwright[_2_] Excel Programming 4 October 29th 04 01:50 PM


All times are GMT +1. The time now is 12:05 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"