LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Using a Form to control variable fields.

thanks howard- I may have poorly communicated my intent -- the position can
vary (the vlookup is for performance metrics from another sheet)

I need it to fill B and C based on the value I input in the form (that
should match a position in column A)

"Howard31" wrote:

Do you mean you wantto be able to update Nmae and Rate based on the selection
of Position, with the corresponding values in the spreadsheet? If this is the
case why not use a Vlookup as follows:

TextBoxName.Text =
Application.Vlookup(ComboBoxPosition.Text,Range(Ce lls(1,1),Cells(50,3),2,False)

This should give you the Name of the corresponding Position
--
A. Ch. Eirinberg


"Memphus01" wrote:

I have created a form that allows me to enter names based on a source data
field.

Form uses combo box to allow me to ensure I do not mispell names (i have
vlookups tied to those names) and it allows me to enter a current rate (also
combo box with rowsource) and also a line for position.

I would like to be able to have that form control a value in a field, but
the field is variable. For example:

A B C

1 Position Name Rate
2 Cook
3 Cook
4 Front End
5 Front End
6 Front End
7 Front End
8 Front End
9 Clean Up

I would like for the form to enter the name I looked up and the salary I
input into the next available B,C column for the Position I enter for the
current page.

Is there a way to create a variable control source?

 
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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
variable form control Roman[_4_] Excel Programming 2 June 15th 05 08:20 AM
Variable Reference to a Form Control Sharlene England Excel Programming 2 November 5th 04 10:56 PM
Tool Tip Text for Form control/ Active-X control Freddie[_2_] Excel Programming 0 October 19th 04 04:14 AM


All times are GMT +1. The time now is 08:10 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"