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

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???
 
L

lpfly

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
 
Top