LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Creating a form

Something was telling me to avoid this post, but Ill go ahead and respond
anyway. Its a bit tricky to get working, probably, depending on your skill
level, and your appetite for these kinds of things. OK, here goes...

Put a ComboBox on your UserForm. Link it to the input cells, via RowSource,
like this:
=Sheet1!A1:A4

In Sheet1, A1:A4, you have this:
USD
Euro
GBP
YEN

Add a CommandButton and double-click; add this code:

Private Sub CommandButton1_Click()
On Error Resume Next
Sheets("Sheet2").Activate
Cells(1, 1) = ComboBox1.Text
Unload UserForm1
End Sub


Finally, create a new Modeule, and put this code in the Modeule:
Sub Main()
UserForm1.Show
End Sub

Create a CommandButton to link to that code.

It's not too bad, but the first time can be a little scary. Just stick with
it!

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Matthew Herbert" wrote:

On Aug 18, 12:26 pm, Heather
wrote:
Hi, I need to create a form for our Sales staff to have ability to enter

Currency (USD, Euro, GBP, or YEN)
Edition (A, B, C, or D)
# of Users
Length of Term
Addt'l Products (yes or no) If yes a box should appear with their choices

Then somehow I need their choices to go out to other tabs in the workbook
and get the calculations and prices for these based on their criteria -- Is
this something that can be done in Excel? And then placed in a summary tab?

Thank you,
Heather


Heather,

The answer to your question is yes. (Without knowing your specific
situation, it seems like you could potentially leverage a VLOOKUP (or
HLOOKUP depending on how the data is organized) function to accomplish
the same goal without having to spend the time coding up a user form
and related procedures and functions).

Best,

Matthew Herbert

 
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
Creating a form - BNT1 via OfficeKB.com Excel Discussion (Misc queries) 5 November 26th 09 04:29 PM
Creating A Form Johnnie[_2_] Excel Worksheet Functions 2 June 30th 08 05:43 PM
Creating a Form Claudine Excel Worksheet Functions 2 December 5th 06 10:59 PM
creating a form aprylddd New Users to Excel 1 September 20th 05 09:45 AM
Creating a Form Marcia3641 Excel Discussion (Misc queries) 10 July 21st 05 06:15 PM


All times are GMT +1. The time now is 07:15 AM.

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"