Frank Freese
asked on
Delete columns or rows when wroksheet close
Folks,
I would like to know the code and what event to place it when a worksheet is closed (workbook remains open) and I go to another worksheet, coded columns and rows would be deleted.
I believe I have the correct code but I do not see an worksheet close event?
Range("F1").EntireColumn.D elete
Range("A21,A31").EntireRow .Delete
I would like to know the code and what event to place it when a worksheet is closed (workbook remains open) and I go to another worksheet, coded columns and rows would be deleted.
I believe I have the correct code but I do not see an worksheet close event?
Range("F1").EntireColumn.D
Range("A21,A31").EntireRow
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use Workbook_BeforeClose
ASKER
BTW - there is no Event Before_Close is why I elected the answer I did