marcos
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 » Marcos

Marcos

resolvedResolved · Low Priority · Version 2007

replyReply Fri 21 Aug 2009, 15:50Delegate Graeme said...

Graeme has attended:
Excel Advanced course

Marcos

Hi,

I wonder if it is possible to create a macro that will increase its range in succession? I produce a column of numbers every week (adding an extra column to a table), and then produce a graph plotting the sum of this column over time - would I be able to create a macro that will specify this new extra column of data weekly.

For upcoming training course dates see: Pricing & availability

replyReply Mon 24 Aug 2009, 11:20Trainer Simon said...

RE: Marcos

Hi Graeme,

Thank you for your question and welcome to the forum.

It may be possible recording the macro using Relative Cell Referencing or using Excel VBA code.

When you record macros, it uses absolute cell referencing, which means that exact cell locations are recorded. The macro works only with the exact cells addresses you use when you record the macro.

Using Relative Cell references, the actions recorded in the macro are relative to the starting cell location.

I have enclosed a link below:

http://www.youtube.com/watch?v=ktgfq0dK_vg&feature=PlayList&p=D8DCBBF18402CB24&playnext=1&playnext_from=PL&index=3

This video tutorial is in 2007 but the only difference is that you go to Tools, Macro, Record New Macro. Name the macro and click OK. A Stop Record Toolbar will appear and click the Reference Cells option and ensure there is a blue frame around the button which means it is selected. Then record the macro.

I hope this helps.

Regards

Simon

Tue 1 Sep 2009: Automatically marked as resolved.

 

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

Excel tip:

Adjusting the Elevation and Rotation in a 3-D Chart

For any 3-D chart you create, you can adjust the chart

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