ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Ignoring formulas in Custom Headers (https://www.excelbanter.com/excel-discussion-misc-queries/20128-ignoring-formulas-custom-headers.html)

Mizuchi

Ignoring formulas in Custom Headers
 
I want to display the path of the excel file in the header, but it changed
"&D" into a date.

How do I prevent Excel from doing this?

JulieD

Hi

use
&&D
instead

Cheers
JulieD

"Mizuchi" wrote in message
...
I want to display the path of the excel file in the header, but it changed
"&D" into a date.

How do I prevent Excel from doing this?




Mizuchi

Thank you very much for the reply. I noticed that everything with a & before
it turned into a blank space. Browsing other header options, I borrowed code
I didn't know about: &[Path]&[File]

This doesn't allow me to show me the mapped network drive letter everyone
uses, so I will use your solution instead.

Thanks again.

"JulieD" wrote:

Hi

use
&&D
instead

Cheers
JulieD

"Mizuchi" wrote in message
...
I want to display the path of the excel file in the header, but it changed
"&D" into a date.

How do I prevent Excel from doing this?





JulieD

you're welcome and thanks for the feedback

"Mizuchi" wrote in message
...
Thank you very much for the reply. I noticed that everything with a &
before
it turned into a blank space. Browsing other header options, I borrowed
code
I didn't know about: &[Path]&[File]

This doesn't allow me to show me the mapped network drive letter everyone
uses, so I will use your solution instead.

Thanks again.

"JulieD" wrote:

Hi

use
&&D
instead

Cheers
JulieD

"Mizuchi" wrote in message
...
I want to display the path of the excel file in the header, but it
changed
"&D" into a date.

How do I prevent Excel from doing this?








All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com