ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   active worksheet (https://www.excelbanter.com/excel-programming/279803-active-worksheet.html)

scrabtree23[_2_]

active worksheet
 
I want to write a code to do one thing if one sheet
is "active" and another thing is a different sheet
is "active". I envision it something like this:

If ActiveSheet= sheets("Travel") Then
(Code)
End If

SDC


All times are GMT +1. The time now is 11:19 PM.

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