include worksheet in macro
Posted by Andonny on January 29, 2001 1:19 PM
Hi,
I am a little desperate. I have looked for ages in many places for an answer and I couldn't find one. Your help would be very much appreciated.
How do I incorporate mysheet (in front of the Range) into the if statement. It would save me writing macros for every worksheet in my workbook.
If Sheets("Sheet1").Cells(i, 7).Value = mysheet.Range("Q19").Value Then
Thanks a million
Andonny