Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a simple example
Sub test() mynum = Application.InputBox("Enter a number", Type:=1) Sheets("Sheet2").Range("B1").Value = _ Application.WorksheetFunction.VLookup(mynum, Range("data"), 2) End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Les Stout" wrote in message ... Good Day, I am using Vlook up's to look up a number or a name which is typed into a cell, this then brings the values to the right of the given number in the table, into cells on another work sheet. There are 11 columns of data. I would like to do this which VBA, is it possible ? Les Stout *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I find my previous post ? | Excel Discussion (Misc queries) | |||
How to create dialog box that will post to worksheet encoded data? | Excel Discussion (Misc queries) | |||
Can't find my post | Excel Discussion (Misc queries) | |||
HELP - Cannot find my post? | Excel Discussion (Misc queries) | |||
How do I find my post? | Excel Discussion (Misc queries) |