ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Want to get user selections from a message box using option buttons (https://www.excelbanter.com/excel-discussion-misc-queries/53532-want-get-user-selections-message-box-using-option-buttons.html)

Walt

Want to get user selections from a message box using option buttons
 
I have all kinds of books telling me how to create a userform. What I
need is the code to show the form with the option buttons and then
retrieve the info from it. I want the user to select which option he
wants and enter a date.

Any help would be greatly appreciated. I have been a programmer for
many years and understand many software languages. But Excel VB is a
killer. I know it can't be that hard.

Thanks


Jim Cone

Want to get user selections from a message box using option buttons
 
Walt,

You will usually get better answers if you provide the code that
you have already tried.

UserForm1.Show...will display the userform.

Dim strText as String
strText = UserForm1.TextBox1.Value...
places the contents of the textbox into the strText variable.

Jim Cone
San Francisco, USA


"Walt"
wrote in message
ps.com
I have all kinds of books telling me how to create a userform. What I
need is the code to show the form with the option buttons and then
retrieve the info from it. I want the user to select which option he
wants and enter a date.

Any help would be greatly appreciated. I have been a programmer for
many years and understand many software languages. But Excel VB is a
killer. I know it can't be that hard.

Thanks



All times are GMT +1. The time now is 01:24 AM.

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