Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default refer to a cell in another sheet

My macro is contained in a workbook with 6 sheets (A, B,
C, D, E, and F).

I want to write an "If" statement, that looks at cell "Z1"
on sheet "A" without actualing activating Sheet "A".

Not sure how to do this. Thanks for the help......
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default refer to a cell in another sheet


If Worksheets("SheetA").Range("A1").Value = ....

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JT" wrote in message
...
My macro is contained in a workbook with 6 sheets (A, B,
C, D, E, and F).

I want to write an "If" statement, that looks at cell "Z1"
on sheet "A" without actualing activating Sheet "A".

Not sure how to do this. Thanks for the help......



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
Refer to a sheet using a cell value bony_tony Excel Worksheet Functions 2 July 11th 08 04:27 PM
Refer to sheet name specified in other cell Marko Pinteric Excel Discussion (Misc queries) 2 March 4th 05 09:13 AM
Excel VBA (?!)-refer to a cell on Sheet to left of X, based on criteria on Sheet X tempjones Excel Programming 2 June 7th 04 09:48 PM
Contents of a cell refer to sheet name Audio_freak Excel Programming 3 May 29th 04 10:05 PM
Refer to a sheet in a cell Esben Excel Programming 3 May 26th 04 08:33 PM


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