Unique macros trigger

  • Thread starter Thread starter HoundofCullin
  • Start date Start date
H

HoundofCullin

I need help getting Excel to trigger a macros by some function other
than a keyboard shortcut. For example: Say I print one sheet of a
document. When the document is printed I'ld like it to take some of the
data on the printed document and paste in a cell on another. I believe
I know how to execute everything ther BUT the trigger.

Is it even possible to activate a macros by printing off a document?
 
Maybe:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
*** Your Code here***
End Sub


HoundofCullin said:
I need help getting Excel to trigger a macros by some function other
than a keyboard shortcut. For example: Say I print one sheet of a
document. When the document is printed I'ld like it to take some of the
data on the printed document and paste in a cell on another. I believe
I know how to execute everything ther BUT the trigger.

Is it even possible to activate a macros by printing off a document?


------------------------------------------------



~~Now Available: Financial Statements.xls, a step by step guide to
creating financial statements
 
There is a beforeprint macro but you could have a macro that

prints
does the rest after

--
Don Guillett
SalesAid Software
(e-mail address removed)
HoundofCullin said:
I need help getting Excel to trigger a macros by some function other
than a keyboard shortcut. For example: Say I print one sheet of a
document. When the document is printed I'ld like it to take some of the
data on the printed document and paste in a cell on another. I believe
I know how to execute everything ther BUT the trigger.

Is it even possible to activate a macros by printing off a document?


------------------------------------------------



~~Now Available: Financial Statements.xls, a step by step guide to
creating financial statements
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top