Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Using worksheet code name in this code

I'm trying to use a worksheet code name in this code

"=VLOOKUP(RC3,Sheet1!NamedRange,2,FALSE)&""-""&'Sheet2'!RC4"

I have a code name for Sheet2 that I want to add to this. Can someone
assist us? We are so far having no success.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Using worksheet code name in this code

As a guess...

"=VLOOKUP(RC3,Sheet1!NamedRange,2,FALSE)&""-""&'" & Sheet2.Name & "'!RC4"

--
HTH...

Jim Thomlinson


"Barb Reinhardt" wrote:

I'm trying to use a worksheet code name in this code

"=VLOOKUP(RC3,Sheet1!NamedRange,2,FALSE)&""-""&'Sheet2'!RC4"

I have a code name for Sheet2 that I want to add to this. Can someone
assist us? We are so far having no success.

Thanks

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
split post code (zip code) out of cell that includes full address Concord Excel Discussion (Misc queries) 4 October 15th 09 06:59 PM
Code Conflicts With Worksheet Change Code Paige Excel Programming 3 March 3rd 06 04:25 PM
Create a newworksheet with VBA code and put VBA code in the new worksheet module ceshelman Excel Programming 4 June 15th 05 04:37 PM
Altering code to reference the worksheet before the active worksheet KimberlyC Excel Programming 8 March 15th 05 10:26 PM
Return to previous worksheet after code pastes in another worksheet? Ron[_28_] Excel Programming 4 September 4th 04 07:52 PM


All times are GMT +1. The time now is 08:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"