PC Review


Reply
Thread Tools Rate Thread

Creating a form

 
 
Heather
Guest
Posts: n/a
 
      18th Aug 2009
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


 
Reply With Quote
 
 
 
 
Matthew Herbert
Guest
Posts: n/a
 
      18th Aug 2009
On Aug 18, 12:26*pm, Heather <Heat...@discussions.microsoft.com>
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 summarytab?
>
> 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
 
Reply With Quote
 
ryguy7272
Guest
Posts: n/a
 
      18th Aug 2009
Something was telling me to avoid this post, but I’ll go ahead and respond
anyway. It’s 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 <Heat...@discussions.microsoft.com>
> 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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding/creating record in one form to match previous form JCA Microsoft Access Forms 1 7th Jan 2010 11:24 PM
Creating a form with main form and subform based on the same table =?Utf-8?B?RXhhciBLdW4=?= Microsoft Access Form Coding 1 3rd Jan 2006 10:23 PM
Open Query/Form/Report in a particular view from a form without creating event procedures or macros auke Microsoft Access Forms 2 7th Dec 2004 02:23 PM
Creating a toolbar button in one form but not the main Outlook form? Scott Lezberg \(Deltek\) Microsoft Outlook Program Addins 0 26th Jan 2004 03:52 PM
Creating a Windows.Form.Control class for runtime form generation Sinisa Microsoft C# .NET 0 13th Dec 2003 01:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:48 PM.