Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Real Meaning of Apostrophe?

Got it.

Thanks.



"Tom Ogilvy" wrote in message
...
It isn't formatting in the same sense as cell formatting; it is a prefix
character that is used to control the justification of a text string when
Lotus 1-2-3 compatability is in effect. In Excel itself it is interpreted
more as a signal to treat the entry as a string. You can use the format
command to right justify it and the apostrophe is still there. I can't
say about the paste special = format. I would say, what happens
happens - not sure there is a deeper meaning.

--
Regards,
Tom Ogilvy




"Josh Sale" <jsale@tril dot cod wrote in message
...
Thanks Tom. I have a follow-up question:

If the apostrophe is seen as formatting, why doesn't it get copied when I
do a Copy from a cell that contains the apostrophe and an Edit | Paste
Special | Format to a cell that doesn't have one? If its truely a
"format" it seems like it should especially since the reverse is true
(i.e., when I do a Copy from a cell that doesn't contain an apostrophe
and an Edit | Paste Special | Format to a cell that does, the apostrophe
is removed from the target cell).

Thanks again,

josh




"Tom Ogilvy" wrote in message
...


from Excel help:

An apostrophe ('), a caret (^), or a quotation mark (") appears in the
formula bar but not in the cells.
These characters are formatting codes, which may be displayed in
documents created in Lotus 1-2-3 or if you are working with keys that
are used for navigation in Lotus 1-2-3. In Lotus 1-2-3 formats, an
apostrophe (') indicates left-aligned text, a quotation mark (")
indicates right-aligned text, and a caret (^) indicates centered text.

To remove the codes, click Options on the Tools menu, click the
Transition tab, and then clear the Transition navigation keys check box.

----------------------------------------

From VBA help for the PREFIXCHARACTER property of a range object:



Returns the prefix character for the cell. Read-only Variant.

Remarks

If the TransitionNavigKeys property is False, this prefix character will
be ' for a text label, or blank. If the TransitionNavigKeys property is
True, this character will be ' for a left-justified label, " for a
right-justified label, ^ for a centered label, \ for a repeated label,
or blank.

--

Regards,

Tom Ogilvy







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
meaning of E in y=3E-.05x^3 Garland Charts and Charting in Excel 2 April 4th 23 12:44 PM
what is the meaning of <? bitwhite Excel Worksheet Functions 3 July 13th 09 04:02 PM
What is meaning of $ in excel Sandeep Jangra[_2_] New Users to Excel 2 October 11th 08 05:28 PM
Formula Meaning Bevatron Excel Discussion (Misc queries) 17 January 10th 06 06:32 PM
meaning of ######### dick Excel Discussion (Misc queries) 2 January 10th 06 01:28 PM


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