Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default How to reference a precedent range in another sheet?

Given cell formula:

=ASheetOtherThanThisOne!A1

how do I reference that range in, say, the sheet's Change event?

(This works:

with Target
n = Instr(.Formula, "!")
Set R = Worksheets(Mid(.Formula, 2, n - 2)).Range(.Formula - n)
end with

But that's not programming. That's bull****. Surely VBA has something
better?)

***

Thanks as usual to those Knights of the Web who ceaselessly help us de-
clued cats out.

***
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
Range Reference When Copying Sheet fm One WB to Ken Hudson Excel Programming 1 July 1st 08 05:20 PM
Trace Precedent George Cuartero Excel Worksheet Functions 1 May 31st 07 04:19 AM
reference range in other sheet Diana Excel Discussion (Misc queries) 1 July 12th 06 05:34 PM
Given a range of cells, some of which contain errors (e.g. #DIV/0), replace each cell having an error with the value of a non-error precedent cell Barclay0x00 Excel Programming 3 October 24th 05 05:12 PM
precedent IcyMan Excel Discussion (Misc queries) 3 August 30th 05 11:29 PM


All times are GMT +1. The time now is 12:31 AM.

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"