Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi there. I'm creating an excel workbook and I want to create a macro which moves to the correct worksheet. It retrieves this correct worksheet from a VLookup formula, linked to a drop down box. Example: On the DataSheet the values a 1 | Worksheet name 2 | Other worksheet name and on the page with the macro and form the formula is =VLOOKUP(D2,DataSheet!B2:D5,2) (D2 is a drop down box from which the worksheets are chosen) Any ideas how I can get VB to read the VLookup to get the worksheet name? Thanks. -- xander1987 ------------------------------------------------------------------------ xander1987's Profile: http://www.excelforum.com/member.php...o&userid=27236 View this thread: http://www.excelforum.com/showthread...hreadid=467453 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Man I feel like a noob now. Sorry. For future reference, it was the .Value I needed =/ It's been a while since I've worked with Macros so... yeah... that's my excuse =) -- xander1987 ------------------------------------------------------------------------ xander1987's Profile: http://www.excelforum.com/member.php...o&userid=27236 View this thread: http://www.excelforum.com/showthread...hreadid=467453 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Retrieving values from another sheet | Excel Worksheet Functions | |||
VLOOKUP not retrieving all information | Excel Discussion (Misc queries) | |||
Help with Comparing values and retrieving values in Excel!!!!!! | Excel Worksheet Functions | |||
retrieving values from a specified sheet | Excel Worksheet Functions | |||
Help Retrieving Cell Values | Excel Programming |