ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do I create a macro in excel? (https://www.excelbanter.com/excel-programming/339578-how-do-i-create-macro-excel.html)

Peter

how do I create a macro in excel?
 
Can somebody help me to create a macro where the options (points) can be
selected by clicking the list box?
For Example:
What is your gender?
Male
Female
I want to choose the options by just clicking one of them.
Thanks

Arvi Laanemets

how do I create a macro in excel?
 
Hi

Why don't you simply use data validation list with those selections?

Select the range.
From Data menu, select Validation.
Allow:List
Source:"Male";"Female" (the list separator depends on your regional
settings).
OK.


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Peter" wrote in message
...
Can somebody help me to create a macro where the options (points) can be
selected by clicking the list box?
For Example:
What is your gender?
Male
Female
I want to choose the options by just clicking one of them.
Thanks





All times are GMT +1. The time now is 03:38 PM.

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