gettin an error "Cannot shift objects off sheet" while filtering

  • Thread starter Thread starter Shalin
  • Start date Start date
S

Shalin

Am getting an error of "Cannot shift objects off sheet" while filtering
data.....What is wrong with that can anyone explain....Also is filtering
limited to no. of rows/columns???
 
Hi
Try this in each sheet

Sub Macro7() 'will move objecter if row/colm can not be hide.
Dim s As Shape
On Error Resume Next
For Each s In ActiveSheet.Shapes
s.Placement = xlMoveAndSize
Next
End Sub
 
Back
Top