Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

macros

ResolvedVersion Standard

Stacey has attended:
Excel Intermediate course
Excel Advanced course

Macros

How can i create a macro that selects a certain section of my spreadsheet and copies it to another spreadsheet?

RE: Macros

Hello

Go to view, toolbars and view the vissual basic toolbar. Click the small blue circle to record a macro. Highlight the cells/columns you want, right click and select copy, open the spreadsheet and paste in the cells. Then click the blue square to stop the macro running. Your macro is now recorded. You can then create a button and assign the macro to it on the original spreadsheet. Go to view>>toolbars>>Forms to show the forms toolbar. Select the button on the toolbar and draw a button on the page. It will automatically have a popup which lets you assign the macro you just created. Now when you click the button it will automatically copy the cells to the other sheet. You can right click the button and change the text on it to read something like 'copy records'

thanks
Rich

Excel tip:

Using the Quick Access Toolbar in Excel2010

The Quick Access Toolbar is included in virtually every Office product, including Outlook 2010, Word 2010, Excel 2010, and PowerPoint 2010.

You will find the Quick Access Toolbar in the top-left side of the window. To begin, click the Customize button (it's the little black arrow at the end of the toolbar).

Simply click the commands you want to include.

Virtually any command can be added to the Quick Access Toolbar. Click the More Commands option and a new window will open from where you can browse the commands including those not on the ribbon.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.