(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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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