@johnjohns Hi,Thanks for the reply. I will explain it little bit in detail. Please look at the following code:
Sheets("Product1").Activate
ActiveCell.Offset(2, 0).Select
ActiveCell.Value = ActiveSheet.Name
The code is written on the Summary worksheet. I am activating the product1 worksheet. But for the next line, it is coming back to the "Summary" worksheet. I dont want the control to transfer back to the "Summary" worksheet and want it to stay in "Product" worksheet itself for carrying out further operations.
KK.
Bookmarks