98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Macros
Macros
Resolved · Low Priority · Version 2003
Matthew has attended:
Excel Intermediate course
Macros
Is it possible to create a macro to view a custom view then print it out? Also, will a macro record print preview settings so that when macro is run, it will print with specific page breaks/landscape etc?
RE: Macros
Hi Matthew
Thank you for your question.
Yes it is possible to record a macro that perform the actions you require.
Before recording the macro have an idea of what exactly you want the macro to do for you i.e. what menus to go to & where the relevant commands are located.
Once you've started recording the macro, perform all the required steps, once you've sent the file to the printer, click the 'stop recording' button.
The keyboard shortcut you would have assigned to the macro (or a toolbar button can be created if required) should now re-run these steps on other files. However, the thing to bear in mind is that the excact steps you carried out when recording the macro will be repeated i.e if you inserted a page break between row 15 & 16, the same page break will be inserted into other files.
If you require the flexibility to define where certain print preview settings are applied, a certain degree of VBA (visual basic - programming code) manipulation will be needed for those variables in the coding.
I would need to refer you to a collegue for any further information regarding Visual Basic.
I hope this resolves your question. If it has, please mark this question as resolved.
If you require further assistance, please reply to this post.
Kind Regards,
Nafeesa
Microsoft Office Specialist Trainer
Will be marked as resolved in 5 days
Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.
Tue 28 Sep 2010: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Brighten up your Excel 2010 Spreadsheet by changing the colours of the gridlinesExcel 2010 allows you to change the colour of grid lines instead of keeping them in boring black. |