Peterfallen
New Member
- Joined
- Jun 16, 2015
- Messages
- 11
I'm new to Macros and working with a training tutorial, and there's a really simple problem, I just cannot figure out. I feel so stupid asking but i need help.
Here's my code.
So... I copied and pasted the line currently ' - which works fine
But when I type the line, I get an "Unable to get SpecialCells property of the Range class" error.
Please help me.
Sub get_blanks()
Selection.CurrentRegion.Select
Selection.SpecialCells(x1CellTypeBlanks).Select
'Selection.SpecialCells(xlCellTypeBlanks).Select
End Sub
Here's my code.
So... I copied and pasted the line currently ' - which works fine
But when I type the line, I get an "Unable to get SpecialCells property of the Range class" error.
Please help me.
Sub get_blanks()
Selection.CurrentRegion.Select
Selection.SpecialCells(x1CellTypeBlanks).Select
'Selection.SpecialCells(xlCellTypeBlanks).Select
End Sub