(Newbie question!) Trying to crop the page/field size. Screenshot included!

I Am Legend

New Member
Joined
Oct 21, 2010
Messages
6
Hi,

I am trying to get rid of the cells and columns, so i can set my page like this:


47683702.png




Any solutions?

Thanks in advance!!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I'm not sure if this works in Excel 2007/2010, but in 2003 I can go into View>Page Break Preview and adjust the edges to fit the range I want it to show.
 
Upvote 0
I'm not sure if this works in Excel 2007/2010, but in 2003 I can go into View>Page Break Preview and adjust the edges to fit the range I want it to show.

Thank you for replying.

I do have the option to go to View>Page Break Preview. But what do you mean adjust edges?

I just wanted a specific amount of cells to be shown, and the rest completly cut off.
 
Upvote 0
Edit: Select all cells to the right of your viewable range and hide them. Then all cells below and hide them
 
Upvote 0
Use the following macro:

Code:
Public Sub HideToRightAndDown()
Range(Cells(1, ActiveCell.Offset(0, 1).Column), Cells(1, Columns.Count)).EntireColumn.Hidden = True
Range(Cells(ActiveCell.Offset(1, 0).Row, 1), Cells(Rows.Count, 1)).EntireRow.Hidden = True
End Sub

Put the cursor in the bottom-right of the range you want to show, run the macro, and it will hide everything else.
 
Upvote 0
Use the following macro:

Code:
Public Sub HideToRightAndDown()
Range(Cells(1, ActiveCell.Offset(0, 1).Column), Cells(1, Columns.Count)).EntireColumn.Hidden = True
Range(Cells(ActiveCell.Offset(1, 0).Row, 1), Cells(Rows.Count, 1)).EntireRow.Hidden = True
End Sub

Put the cursor in the bottom-right of the range you want to show, run the macro, and it will hide everything else.

I owe you my life!
Thank you very much! This is for my coursework ;)
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

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