Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe
 
Posts: n/a
Default vlookup worksheet match in macro

I have been reading these posts for some time and was wondering if some
one here could help me with a Macro I am using?

The Spreadsheet CPLHier.xls is open when the Vlookup is called.
Everyday the name of the worksheet where the vlookup is being used is
decremented to the date of that day, for instance:

CPLHierarchy_02-10-06

"=VLOOKUP(RC[-3],[CPLHier.xls]CPLHierarchy!R2C1:R50000C5,5,FALSE)"

Currently I am being force to change the name of the worksheet to:

CPLHierarchy

so it matched the Vlookup formular,

Is there way to use a wildcard unstead?

I tried reading the help files and tried a using

'CPLHierarchy_*-*-*' and 'CPLHierarchy*'

Thanks for any help with this............

Joe

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
Vlookup refs a cell that has a worksheet name Peter Excel Worksheet Functions 7 February 6th 06 06:41 PM
Match, Index, Vlookup, If (confused) PJS Excel Discussion (Misc queries) 4 January 30th 06 04:56 AM
Add protect worksheet password in macro Kelly Excel Worksheet Functions 1 January 10th 06 02:08 AM
Vlookup reference a worksheet Gary Brown Excel Worksheet Functions 1 May 20th 05 07:17 PM
Executing macro for all worksheet from a different worksheet Biti New Users to Excel 3 December 8th 04 10:05 AM


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