ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Buttons for ", & ? (https://www.excelbanter.com/excel-discussion-misc-queries/91975-buttons.html)

[email protected]

Buttons for ", & ?
 
I was wondering if there is a way to create macros to enter quote marks
and the ampersand? Similar to the built in buttons for + and = you can
put on the toolbar by customizing?

I like to use the buttons to build formulas.

Thanks


FSt1

Buttons for ", & ?
 
hi,
assign these macros to custom icons from the customize box...toolscustomize.
click the command tab. on the left scroll down and click macros. drag the
smiley face to the tool bar. click modify selectionassign macro. you might
also want to click modify selectionedit button image.
Sub Macro1()
ActiveCell.FormulaR1C1 = """"
End Sub
Sub Macro2()
ActiveCell.FormulaR1C1 = "&"
End Sub
regards
FSt1

" wrote:

I was wondering if there is a way to create macros to enter quote marks
and the ampersand? Similar to the built in buttons for + and = you can
put on the toolbar by customizing?

I like to use the buttons to build formulas.

Thanks



FSt1

Buttons for ", & ?
 
hi again,
I stumbled on to your post in programing and now understand more of what you
are trying to do. the procedures i posted to you wont work during edit mode.
sorry.
FSt1

" wrote:

I was wondering if there is a way to create macros to enter quote marks
and the ampersand? Similar to the built in buttons for + and = you can
put on the toolbar by customizing?

I like to use the buttons to build formulas.

Thanks




All times are GMT +1. The time now is 12:25 AM.

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