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

Advertisements

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top