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: 27
Default replacing varaibles in formula

I have "G:\04 Assembly Cost\+06 FY
03_04\TCR2003_Assembly_0305.xls" in a
variable path1 and the worksheet name "TCR2003 by packages"
in another
variable "wkshName".

how can I replace the 'G:\04 Assembly Cost\+06 FY
03_04\[TCR2003_Assembly_0305.xls]TCR2003 by packages' in
the vlookup formula
below by the variables path1 and wkshName???

Cells(rowSt, z) = "=( VLOOKUP(" & Cells(rowSt,
packRng.Column).Address &
",'G:\04 Assembly Cost\+06 FY
03_04\[TCR2003_Assembly_0305.xls]TCR2003 by
packages'!$B$4:$G$251,4,FALSE)" & ")"

Thanks
monika

 
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
Replacing ISERROR Formula Ismael R Excel Worksheet Functions 6 March 5th 09 10:13 PM
help on replacing this formula Abbey Normal Excel Discussion (Misc queries) 6 August 23rd 07 05:17 PM
replacing text within a formula jimswinder Excel Worksheet Functions 5 January 22nd 07 08:16 AM
Replacing a value from a formula Squid[_2_] Excel Programming 1 February 14th 04 02:02 PM
Replacing DirectPrecedents in a Formula Gappodi Excel Programming 2 November 19th 03 03:47 PM


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