panicbutton
New Member
- Joined
- Dec 14, 2010
- Messages
- 3
Hey there,
i need some VBA help...
What I am looking for is a footer that is automatically populated with the following information:
Left footer:
<table width="64" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="height: 15pt;" height="20"><td class="xl63" style="height: 15pt; width: 48pt;" width="64" height="20">=Sheet5!AD234</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">=Sheet1!B45</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">=today()</td> </tr> </tbody></table>
center footer:
Page number
Please note, that the workbook as multiple worksheets, but I want this macro only to run over - lets say - Sheet3.
My next question would be, how can we trigger this macro? Is there a way to start if before the user hits 'print', 'save' or ' 'save as pdf'?
thanks a lot for your help!
i need some VBA help...
What I am looking for is a footer that is automatically populated with the following information:
Left footer:
<table width="64" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="height: 15pt;" height="20"><td class="xl63" style="height: 15pt; width: 48pt;" width="64" height="20">=Sheet5!AD234</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">=Sheet1!B45</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">=today()</td> </tr> </tbody></table>
center footer:
Page number
Please note, that the workbook as multiple worksheets, but I want this macro only to run over - lets say - Sheet3.
My next question would be, how can we trigger this macro? Is there a way to start if before the user hits 'print', 'save' or ' 'save as pdf'?
thanks a lot for your help!