Selection box assigned to macro-button
===============================
I am looking for a way to accomplish the following in Excel (with vba).
- A macro-button called "TIME" on my worksheet.
- When you press the button "TIME" a 'radio-button-selection-box' with 5 predetermined 'hours of the day' should appear.
- The time which will be selected is to be written in the current active cell.
Instead of a 'radio-button-selection-box' another type of selection-box is alright as well.
I do not want a normal listbox in a predetermined cell, because the time that is to be written in the cell could be anywhere (not predefined place) on the sheet.
I know how to assign a macro to a button, but I do not know how to:
* make a 'radio-button-selection-box' appear and call/assign it to a macro.
* read the input once the selection has been made.
I hope my request is stated clearly enough (English is not my native language) and I hope anyone can help me with this problem.
Thanks in advance,
Fie Buls
===============================
I am looking for a way to accomplish the following in Excel (with vba).
- A macro-button called "TIME" on my worksheet.
- When you press the button "TIME" a 'radio-button-selection-box' with 5 predetermined 'hours of the day' should appear.
- The time which will be selected is to be written in the current active cell.
Instead of a 'radio-button-selection-box' another type of selection-box is alright as well.
I do not want a normal listbox in a predetermined cell, because the time that is to be written in the cell could be anywhere (not predefined place) on the sheet.
I know how to assign a macro to a button, but I do not know how to:
* make a 'radio-button-selection-box' appear and call/assign it to a macro.
* read the input once the selection has been made.
I hope my request is stated clearly enough (English is not my native language) and I hope anyone can help me with this problem.
Thanks in advance,
Fie Buls