Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic Vlookups in Forms

Hi, i need to know if there is a way to have an excel form
perform a lookup within the form. To better describe this,
i currently have a form set up that has a box where i enter
a job number, i would like for this number to bring up the
corresponding job name in some area next to the job number
so that the person entering the data can make sure he/she
has the right job. Is this possible and if so how can i get
my form to perform this function...

Thanks
Scott
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic Vlookups in Forms

You can use the Exit or Change events of the text box you are enterin
the data in to fire a call to a function that will do the vlooku
incode and then return the result and place that in the correspondin
text box or label.


Keith
www.kjtfs.co

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automatic Vlookups in Forms

Textbox2.Text = Application.Vlookup(Textbox1.Text, _
Worksheets("sheet1").Range("A1:B30"),2,0)

--
Regards,
Tom Ogilvy


savv32 wrote in message
...
Hi, i need to know if there is a way to have an excel form
perform a lookup within the form. To better describe this,
i currently have a form set up that has a box where i enter
a job number, i would like for this number to bring up the
corresponding job name in some area next to the job number
so that the person entering the data can make sure he/she
has the right job. Is this possible and if so how can i get
my form to perform this function...

Thanks
Scott



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
Forms / Templates - automatic sending tonyagrey Excel Discussion (Misc queries) 1 April 15th 10 12:07 PM
IFs with VLOOKUPs Brad Autry Excel Worksheet Functions 5 August 4th 09 03:02 PM
vlookups lfrick Excel Worksheet Functions 3 July 17th 09 10:03 PM
Dependent vlookups - nested vlookups (maybe) Maniv Excel Worksheet Functions 1 April 22nd 08 07:40 PM
vlookups T Excel Discussion (Misc queries) 4 May 13th 06 12:15 PM


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