LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Passing variable to worksheet function

Hi
I'm using an index(match) function in my sheet to lookup two values
from two other spreadsheets. The column reference in the Index function
needs to be obtained by a left(workbook,2), so it;s the first two
characters of the workbook name.

I have a macro that obtains this information in a variable (FName),
without dirtying the sheet i.e. using a FName = range("").value how can
I use the FName variable in the worksheet function?

Or if you have any other suggestions...

The overall aim is to cycle through about 160 workbooks, each workbook
needs to have the index function pasted through all rows.


Thanks


Wendy

 
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
Passing a WorkSheet from a Function??? Mac Lingo Excel Worksheet Functions 3 June 13th 06 08:29 AM
Passing multiple strings to variable in Replace Function ExcelMonkey Excel Programming 1 February 7th 06 05:05 PM
Passing a variable to a Worksheet at open time Neil Excel Programming 0 September 18th 03 03:52 PM
Passing a Variable from Worksheet to Workbook Susan Lammi Excel Programming 6 August 3rd 03 01:29 AM
passing a variable as an argument to a function Drew[_6_] Excel Programming 3 July 25th 03 08:51 PM


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