Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2008

Tip: Looking for answers? Try searching our database.

Excel View

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dar - 12 Apr 2008 20:02 GMT
I would like to modify an excel document that I send to my customers so that
when they open the file it comes up in a format ike the print preview and not
the working format. How to I do this?
Gord Dibben - 12 Apr 2008 20:22 GMT
To have your workbook open to a particular sheet in print preview mode you would
need to have some event code which runs when the workbook is opened.

Then you would have to ensure that customers enable macros when opening the
workbook.

Print Preview mode is none too presentable in my opinion.

What exactly do you want the active sheet to look like?

No menus or toolbars showing or???

Gord Dibben  MS Excel MVP

>I would like to modify an excel document that I send to my customers so that
>when they open the file it comes up in a format ike the print preview and not
>the working format. How to I do this?
Dar - 12 Apr 2008 21:00 GMT
I would like it to look just like the printed document would look with the
header and footer and be read-only and printable.

> To have your workbook open to a particular sheet in print preview mode you would
> need to have some event code which runs when the workbook is opened.
[quoted text clipped - 13 lines]
> >when they open the file it comes up in a format ike the print preview and not
> >the working format. How to I do this?
Gord Dibben - 13 Apr 2008 05:19 GMT
With a backup copy of your workbook open, right-click on the Excel Icon and
"View Code".

Copy/paste this code into that module.

Private Sub Workbook_Open()
ActiveSheet.PageSetup.PrintArea = "$A$1:$I$58"
Application.DisplayFullScreen = True
   With ActiveSheet.PageSetup
       .CenterHeader = "Date"
       .LeftFooter = "Company Name"
       .PrintGridlines = False
       .Orientation = xlPortrait
       .Draft = False
       .FirstPageNumber = xlAutomatic
   End With
   ActiveWindow.SelectedSheets.PrintPreview
End Sub

There are many more print features and functions you could add to this.

Best to record a macro while doing your complete print setup to see the code
generated.

Gord

>I would like it to look just like the printed document would look with the
>header and footer and be read-only and printable.
[quoted text clipped - 16 lines]
>> >when they open the file it comes up in a format ike the print preview and not
>> >the working format. How to I do this?
Gord Dibben - 13 Apr 2008 17:35 GMT
As an afterthought, maybe you should just save the workbook as a PDF and send
that to the customers.

Gord

>With a backup copy of your workbook open, right-click on the Excel Icon and
>"View Code".
[quoted text clipped - 42 lines]
>>> >when they open the file it comes up in a format ike the print preview and not
>>> >the working format. How to I do this?
Gdareos - 13 Apr 2008 14:47 GMT
You could save it and require a password to modify, then it opens as
"Read Only." This would not look like "Print Preview" option.

If you are publishing the document for distribution and don't want
them to make changes, I'd publish to a .PDF format. I use PDF
converter which is a lot cheaper than Adobe, and like it a lot.

Hope this helps,
George
--

>I would like to modify an excel document that I send to my customers so that
>when they open the file it comes up in a format ike the print preview and not
>the working format. How to I do this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.