SyntaxFix
Write A Post
Hire A Developer
Questions
you can use all cells as a object like this :
Dim x as Range Set x = Worksheets("Sheet name").Cells
X is now a range object that contains the entire worksheet