Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Retrieving VLookup Values


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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Retrieving VLookup Values


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
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
Retrieving values from another sheet circuit_breaker Excel Worksheet Functions 1 September 14th 09 06:12 PM
VLOOKUP not retrieving all information Nick Excel Discussion (Misc queries) 1 April 24th 07 04:30 AM
Help with Comparing values and retrieving values in Excel!!!!!! [email protected] Excel Worksheet Functions 1 November 17th 06 12:21 AM
retrieving values from a specified sheet Anift Excel Worksheet Functions 4 April 1st 06 01:14 PM
Help Retrieving Cell Values Marshall Excel Programming 1 October 28th 03 05:32 PM


All times are GMT +1. The time now is 04:05 AM.

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"