Excellent, Ron. I certainly stand corrected!
--
Jim
|I have a example in the download with XML files for the Sample menu in the
UI editor for the Print and Prepare menu
|
|
| <customUI xmlns="
http://schemas.microsoft.com/office/2006/01/customui" >
|
| <!-- Add one button and a menu with 7 options to the Office Button
menu-->
| <!-- Add one button to the Print splitButton and one to the Prepare
menu-->
| <!-- See how I use & to have a underlined letter in the menu name
(see label)-->
| <!-- Click on the "generate Callbacks" button in the UI editor to create
the macro(s)-->
| <!-- You can copy them in a module in your workbook then and add your
code-->
|
| <ribbon>
| <officeMenu>
|
| <button id="customButton1" label="&Your Macro" onAction="Macro1"
imageMso="DirectRepliesTo" />
|
| <menu id="MyDropdownMenu" label="&My Menu" imageMso="HappyFace"| <button id="customButton2" label="Caption 2" onAction="Macro2"
imageMso="TextAlignGallery" />
| <button id="customButton3" label="Caption 3" onAction="Macro3"
imageMso="TextAlignGallery" />
| <button id="customButton4" label="Caption 4" onAction="Macro4"
imageMso="TextAlignGallery" />
| <button id="customButton5" label="Caption 5" onAction="Macro5"
imageMso="TextAlignGallery" />
| <button id="customButton6" label="Caption 6" onAction="Macro6"
imageMso="TextAlignGallery" />
| <button id="customButton7" label="Caption 7" onAction="Macro7"
imageMso="TextAlignGallery" />
| <button id="customButton8" label="Caption 8" onAction="Macro8"
imageMso="TextAlignGallery" />
| </menu>
|
| <splitButton idMso="FilePrintMenu">
| <menu>
| <button id="customButton9" label="Caption 9" onAction="Macro9"
imageMso="FilePrint" description="Your text"/>
| </menu>
| </splitButton>
|
| <menu idMso="FilePrepareMenu">
| <button id="customButton10" label="Caption 10" onAction="Macro10"
imageMso="HappyFace" description="Your text"/>
| </menu>
|
| </officeMenu>
| </ribbon>
| </customUI>
|
|
|
| --
|
| Regards Ron de Bruin
|
http://www.rondebruin.nl/tips.htm
|
|
| > I'm not sure that we can add another file type to the Save As right
pane.
| > There must be a way to do it because it looks like the "PDF or XPS"
add-in
| > adds one there. But I don't think MS has documented it. Or I'm just
spacey
| > today. Anyway you may have to add an item to the Office button menu
proper
| > or to the QAT, and link it to a macro that creates a CSV or opens the
Save
| > As dialog with CSV defaulted to.
| >
| > --
| > Jim
| > | > |I save all my files as either .xlsx or .csv. Usually I need to save
| > | the same file as both - once to preserve features such as charts and
| > | once in .csv for import into another application.
| > |
| > | Is there a way to add a format to the "save as" window? That is, I
| > | would like to be able to click the office button, click "save as", and
| > | have .csv appear in the list of formats alongside "Excel workbook",
| > | "Excel macro-enabled workbook", etc.
| > |
| > | Granted, I can choose Save As>Other formats and scroll down to .csv in
| > | the save dialog, but I do this often enough that it would be quite
| > | helpful to save that step.
| > |
| > | Thanks for any help,
| > | Jeff
| >
| >