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