#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default & in headers

I understand that if you want "M&A" to appear in a header you have to enter
it as M&&A

What's the logic here? What would you be concatenating in the header (or
footer)?
--
Brevity is the soul of wit.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default & in headers

Dave,

The & symbol is a concatenation operator only in a formula. In a header,
it's just another text character. But since the various codes, such as
&[Page] all begin with that character, when Excel sees & in a header, it
thinks a code is on the way. It could have been smart enough to interpret a
single & as just that, an ampersand. But it isn't. We just have to
remember this as one of the Excel oddies, and put && when we want &. This
may be fixed in the year 2057, I'm told.
--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Dave F" wrote in message
...
I understand that if you want "M&A" to appear in a header you have to enter
it as M&&A

What's the logic here? What would you be concatenating in the header (or
footer)?
--
Brevity is the soul of wit.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default & in headers

The logic is that for headers and footers, '&' is an escape character,
not a concatenation operator.

For instance:

Printed at &[Time]

Will print the current time for &[Time]


In article ,
Dave F wrote:

I understand that if you want "M&A" to appear in a header you have to enter
it as M&&A

What's the logic here? What would you be concatenating in the header (or
footer)?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default & in headers

Thanks.
--
Brevity is the soul of wit.


"JE McGimpsey" wrote:

The logic is that for headers and footers, '&' is an escape character,
not a concatenation operator.

For instance:

Printed at &[Time]

Will print the current time for &[Time]


In article ,
Dave F wrote:

I understand that if you want "M&A" to appear in a header you have to enter
it as M&&A

What's the logic here? What would you be concatenating in the header (or
footer)?


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
Sorting by Column Headers Richard Excel Discussion (Misc queries) 2 June 19th 06 11:55 PM
How to consolidate worksheets (1 file) with different headers? lem Excel Worksheet Functions 0 May 17th 06 05:22 PM
Excel - auto freeze list headers Anorak Excel Worksheet Functions 0 October 23rd 05 02:22 PM
Headers on a Shared Workbook jessica Excel Discussion (Misc queries) 1 April 29th 05 09:46 AM
Help with Headers jessica Excel Discussion (Misc queries) 0 April 6th 05 06:41 PM


All times are GMT +1. The time now is 10:23 AM.

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

About Us

"It's about Microsoft Excel"