macros
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Macros

Macros

resolvedResolved · Low Priority · Version 2003

replyReply Fri 17 Sep 2010, 10:49Delegate Matthew said...

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?

For upcoming training course dates see: Pricing & availability

replyReply Wed 22 Sep 2010, 11:44Trainer Nafeesa said...

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

replyReply Wed 22 Sep 2010, 11:45Trainer Nafeesa said...

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.

 

Please browse our web site to find out more about
excel classes and other Microsoft training courses.

Excel tip:

Shortcut for deleting all comments in a spreadsheet

If you have entered multiple comments into a spreadsheet and wish to delete them all at once, you can achieve this by:

1. Holding down Ctrl, then Shift, then O - this will select all cells containing comments in the worksheet you are looking at.

2. Right-clicking on one of the selected cells, and selecting Delete Comment from the menu that appears.

3. Clicking anywhere else in the spreadsheet to deselect comments - all comments should have disappeared from the spreadsheet.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard