ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MenuMaker (https://www.excelbanter.com/excel-programming/402288-menumaker.html)

Paige

MenuMaker
 
I'm generating a menu using MenuMaker, where I list on a sheet within a file
the applicable menu info, as follows, then put code in the file to generate
the menu. Problem is that in some of my captions I want to use the ampersand
(see below), but when I use the & sign, Excel thinks I want to underline the
character after it. How do I enter the caption so that it comes out
correctly as just B&P?

Level Caption Position/Macro Divider FaceID
1 B&P
2 Input Tab
3 Copy CP

Dave Peterson

MenuMaker
 
How about: B&&P

Same kind of thing when you want an ampersand in a header or footer.



Paige wrote:

I'm generating a menu using MenuMaker, where I list on a sheet within a file
the applicable menu info, as follows, then put code in the file to generate
the menu. Problem is that in some of my captions I want to use the ampersand
(see below), but when I use the & sign, Excel thinks I want to underline the
character after it. How do I enter the caption so that it comes out
correctly as just B&P?

Level Caption Position/Macro Divider FaceID
1 B&P
2 Input Tab
3 Copy CP


--

Dave Peterson

Gord Dibben

MenuMaker
 
B&&P wil give you B&P without the underlined character.


Gord Dibben MS Excel MVP

On Wed, 5 Dec 2007 14:35:02 -0800, Paige
wrote:

I'm generating a menu using MenuMaker, where I list on a sheet within a file
the applicable menu info, as follows, then put code in the file to generate
the menu. Problem is that in some of my captions I want to use the ampersand
(see below), but when I use the & sign, Excel thinks I want to underline the
character after it. How do I enter the caption so that it comes out
correctly as just B&P?

Level Caption Position/Macro Divider FaceID
1 B&P
2 Input Tab
3 Copy CP



Paige

MenuMaker
 
Thanks, guys!!!!

"Gord Dibben" wrote:

B&&P wil give you B&P without the underlined character.


Gord Dibben MS Excel MVP

On Wed, 5 Dec 2007 14:35:02 -0800, Paige
wrote:

I'm generating a menu using MenuMaker, where I list on a sheet within a file
the applicable menu info, as follows, then put code in the file to generate
the menu. Problem is that in some of my captions I want to use the ampersand
(see below), but when I use the & sign, Excel thinks I want to underline the
character after it. How do I enter the caption so that it comes out
correctly as just B&P?

Level Caption Position/Macro Divider FaceID
1 B&P
2 Input Tab
3 Copy CP





All times are GMT +1. The time now is 08:30 AM.

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