ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Working between Worksheets of the same workbook (https://www.excelbanter.com/excel-programming/280641-working-between-worksheets-same-workbook.html)

Anita K

Working between Worksheets of the same workbook
 
Hi all!

There is a macro that is to work with 2 worksheets in the
same workbook. If worksheet1 is active, when the macro is
executed, then the code doesn't work properly for
Worksheet2. And if worksheet2 is active, when the macro is
executed, the code doesn't work properly for worksheet1.


The transfer of control between worksheets is not
happening properly.
Is there a problem i need to address, while transfering
control between worksheets?

thanks in advance,
Anita.


Robert Rosenberg[_2_]

Working between Worksheets of the same workbook
 
Anita,

Post your code so we can address the issue with more detail. Thanks.
_______________________
Robert Rosenberg
R-COR Consulting Services
Microsoft MVP - Excel

"Anita K" wrote in message
...
Hi all!

There is a macro that is to work with 2 worksheets in the
same workbook. If worksheet1 is active, when the macro is
executed, then the code doesn't work properly for
Worksheet2. And if worksheet2 is active, when the macro is
executed, the code doesn't work properly for worksheet1.


The transfer of control between worksheets is not
happening properly.
Is there a problem i need to address, while transfering
control between worksheets?

thanks in advance,
Anita.





All times are GMT +1. The time now is 10:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com