You're probably right. I'll bet that is what the guy wants.
--
RMC,CPA
Hi
I may be wrong but I think what you are after is to select "View>Page Break
Preview" - to toggle back select "View>Normal View"
--
XL2002
Regards
William
[email protected]
| Thanks, but geesh, I don't know what to do with what you
| wrote. I sometimes receive xl files formatted on a blue
| background and it seems that there might be an easy way to
| do this. Is this something that I need to upgrade to do?
|
| Again, thanks.
| >-----Original Message-----
| >Hi khoward
| >
| >> the spreadsheets that I e-mail to clients would have
| more
| >> impact if I could eliminate all the extra area.
| >
| >One way
| >
| >Mail it to yourself to see the result
| >
| >Sub Mail_Selection()
| > Dim strDate As String
| > Dim Addr As String
| > Dim rng As Range
| > ' Exit if multiple worksheets or multiple ranges are
| selected.
| > If ActiveWindow.SelectedSheets.Count > 1 Or _
| > Selection.Areas.Count > 1 Then Exit Sub
| > Application.ScreenUpdating = False
| > Addr = Range("Print_Area").Address
| > ActiveSheet.Copy
| > ActiveSheet.Pictures.Delete
| > With Cells
| > .EntireColumn.Hidden = False
| > .EntireRow.Hidden = False
| > End With
| > Range(Addr).Select
| > Set rng = Selection
| > Application.GoTo rng, True
| > With rng.EntireColumn
| > .Hidden = True
| > rng(1).EntireRow.SpecialCells
| (xlVisible).EntireColumn.Clear
| > rng(1).EntireRow.SpecialCells
| (xlVisible).EntireColumn.Hidden _
| > = True
| > .Hidden = False
| > End With
| > With rng.EntireRow
| > .Hidden = True
| > rng(1).EntireColumn.SpecialCells
| (xlVisible).EntireRow.Clear
| > rng(1).EntireColumn.SpecialCells
| (xlVisible).EntireRow.Hidden _
| > = True
| > .Hidden = False
| > End With
| > Application.GoTo rng, True
| > rng.Cells(1).Select
| > strDate = Format(Date, "dd-mm-yy") & " " & Format
| (Time, "h-mm-ss")
| > ActiveWorkbook.SaveAs "Part of " & ThisWorkbook.Name _
| > & " " & strDate & ".xls"
| > ActiveWorkbook.SendMail "
[email protected]", _
| > "This is the Subject line"
| > ActiveWorkbook.ChangeFileAccess xlReadOnly
| > Kill ActiveWorkbook.FullName
| > ActiveWorkbook.Close False
| > Application.ScreenUpdating = True
| >End Sub
| >
| >
| >
| >
| >
| >
| >
| >
| >--
| >Regards Ron de Bruin
| >(Win XP Pro SP-1 XL2002 SP-2)
| >
| >
| >
| >
| | >> how do I display the print area ONLY in my window. I
| >> would like all the "extra unused" portion of the
| >> spreadsheet to show the blue background color only. Is
| >> there a toggle for this?
| >>
| >> the spreadsheets that I e-mail to clients would have
| more
| >> impact if I could eliminate all the extra area.
| >>
| >> Thanks for any help you all can give me.
| >
| >
| >.
| >