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 » Marcos
Marcos
Resolved · Low Priority · Version 2007
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.
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.
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:Fill formulae across a sheetTo copy a formula down a spreadsheet where there is data underneath, to the left or to the right of the formula, double-click on the fill handle. The fill handle is the little black cross that appears in the bottom right-hand corner of the formula cell. Unfortunately, no similar facility exists to copy formulae across the sheet. |