"Can't push objects off the sheet"

Wulf

Active Member
Joined
Dec 1, 2004
Messages
395
Office Version
  1. 365
Platform
  1. Windows
Ok, really weird...

I have a worksheet with some 240 columns.

I would VERY much like to be able to reduce their width to below '7', as a GROUP (IE: NOT do it 240 times).

But when I attempt to do so, I get the error "Can't push objects off the sheet".

If I do it individually to SOME, I can. Others, I cannot, and get the error.

I've already checked the File, Options, Advanced, Display options, and "All" is check-marked.

*BUT* (here's the "weird"), if I select a column that was giving me the error, EXPAND it to beyond the 7, go and select any random cell, I can then come back to that column, and it will then magically allow that column to be reduced in width to whatever (5, 4, .6, etc).

What the bleep?!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
See if anything here might apply to you.
Yeah, that was one of the sites I had actually looked at, prior to coming here, lol.

Nothing really helped.

What I ended up doing was a bunch of selective "copy"/"paste" steps: Copied values, formulas, formats, etc (almost everything BUT paste "All"), to a different worksheet, and was able to get what I needed done.

Thanks for the reply, though!
Darrell
 
Upvote 0
Have you tried something like the following? :

VBA Code:
Sub ColumnWidthTest()       ' Default = 8.43
'
    Dim wsSource    As Worksheet
'
    Set wsSource = Worksheets("Sheet1")                 ' <--- Set this to the proper sheet name
'
'   Single Range of columns
    wsSource.Range("A:M").ColumnWidth = 5               ' <--- Set this to columns desired as well as the width desired
'
'   Non contiguous column ranges
'    wsSource.Range("A:M, P:Z").ColumnWidth = 5          ' <--- Set this to columns desired as well as the width desired
End Sub
 
Upvote 0
What I ended up doing was a bunch of selective "copy"/"paste" steps: Copied values, formulas, formats, etc (almost everything BUT paste "All"), to a different worksheet, and was able to get what I needed done.
Sometimes that sort of approach is the best way. :biggrin:
Glad you got it going.
 
Upvote 0

Forum statistics

Threads
1,214,617
Messages
6,120,541
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top