Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a macro to create excel line graph with coloured pointers anddata lables anuj datta Charts and Charting in Excel 1 September 30th 09 04:04 PM
Need to create Excel Macro? Mascot Excel Discussion (Misc queries) 3 July 24th 06 08:33 PM
Create an Excel file using a macro Cillian Excel Discussion (Misc queries) 0 January 9th 06 06:32 PM
error trying to create excel macro fun4peg Excel Programming 1 January 13th 04 10:18 PM
Macro to Create PDF from excel with filename... Steve Hillin Excel Programming 3 December 12th 03 05:44 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"