![]() |
Performing codes on different worksheets
Anyone knows how to select a worksheet and perform
subsequent operations from that worksheet? Ive used the below code to test out: Sheets("Average(daily)").Select Cells(10, 10).Value = 1 What it does is that it selects "average(daily)" worksheet, but continues to change the value of cell (10,10) of the original worksheet. How do I get it to work on the new worksheet, "Average(daily)"? |
Performing codes on different worksheets
Hi Darren
works fine for me ... as you've written it, but how about simply Sheets("Average(daily)").Cells(10, 10).Value = 1 Cheers JulieD "Darren" wrote in message ... Anyone knows how to select a worksheet and perform subsequent operations from that worksheet? Ive used the below code to test out: Sheets("Average(daily)").Select Cells(10, 10).Value = 1 What it does is that it selects "average(daily)" worksheet, but continues to change the value of cell (10,10) of the original worksheet. How do I get it to work on the new worksheet, "Average(daily)"? |
All times are GMT +1. The time now is 01:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com