arkusM
Well-known Member
- Joined
- Apr 12, 2007
- Messages
- 560
Good day!
I am trying to prevent a out of memory error when all cells as selected.
Basically I am lookinf for a way to test if the user selects all the cells in a sheet. Then if that happen I want to exit the sub.
Basically
IF "Select all" then Exit Sub
But I don;t know what syntax to use for the "select all" part.
I know that cells.select does select all but if I try
I gets into some strange loop and Excel locks up.
Any pointers?
I am trying to prevent a out of memory error when all cells as selected.
Basically I am lookinf for a way to test if the user selects all the cells in a sheet. Then if that happen I want to exit the sub.
Basically
IF "Select all" then Exit Sub
But I don;t know what syntax to use for the "select all" part.
I know that cells.select does select all but if I try
Code:
If ActiveSheet.Cells.Select is True then Exit Sub
Any pointers?