LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA formula building

Change y.address to
y.address(1,1,xlA1,True)

--
Regards,
Tom Ogilvy



"pm" wrote in message ...
pm wrote:

s = "=INDEX('" & c & x & "'!C8:EX8,1,MATCH(" & y.Address & ",'" & c

& x & "'!C15:EX15,0))"

y.Address



everything seems to be ok, only when i work in the same sheet..

ie. i use my function in D20 cell in sheet1 and then in another sheet i'd

like to
get value from this cell (by simple link) =Sheet!D4 and i get #N/D!

just i write anything in another sheet and results in D20 in sheet1 turn

into error,
when i write anything in sheet1 result in D20 become value...

does this function work only when i operate in sheet i placed this

function?

rgs





 
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
Loose formula/value (when building graphs) PvZ Excel Worksheet Functions 3 June 2nd 10 12:24 PM
Formula Building in Excel 2007 Mike H. Excel Discussion (Misc queries) 2 June 24th 09 01:46 PM
When building formula in excel, it would be very useful to have t. [email protected] Excel Programming 1 October 20th 04 12:07 PM
When building formula in excel, it would be very useful to have t. [email protected] Excel Programming 0 October 20th 04 11:09 AM
Building a Named Range in a formula with VBA John[_80_] Excel Programming 1 July 7th 04 03:06 PM


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