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 / September 2006

Tip: Looking for answers? Try searching our database.

set up print prefs in vba screen

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FennisDuck - 12 Sep 2006 11:37 GMT
vba project window
under heading VBA Project (Workbook.xls)
open folder Microsoft Excel Objects
I am given a list of worksheets & their given Names

which sheet I click on its open to a input window that is divided into three
sections
one section with drop down shows either Worksheet or (General)
the section opposite will show a list of `functions`
the large window below is the code input window
(sorry if this is boring but I want explain what I am looking at)

What I would like to do is use a Print command, for when I print that
particular worksheet i need it to perform a particular function before
actually printing

(I have already used the open and close Private sub - but is there one for
printing)

Thank you in advance for any help or assistance given
Thanx
Dave Peterson - 12 Sep 2006 13:09 GMT
There's a Workbook_beforeprint event under the ThisWorkbook module.

This event fires whenever the user prints (or print previews).

Maybe you can tie into that.

> vba project window
> under heading VBA Project (Workbook.xls)
[quoted text clipped - 17 lines]
> Thank you in advance for any help or assistance given
> Thanx

Signature

Dave Peterson

FennisDuck - 13 Sep 2006 11:01 GMT
thank you very much, I had used it before but my memory was, opps sory IS
failing me most days
but that is def what I was looking for

> vba project window
> under heading VBA Project (Workbook.xls)
[quoted text clipped - 17 lines]
> Thank you in advance for any help or assistance given
> Thanx
 
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.