+ Reply to Thread
Results 1 to 3 of 3

[SOLVED] Combining Macros for Template

  1. #1
    Forum Contributor amyxkatexx's Avatar
    Join Date
    11-23-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2004 for Mac
    Posts
    128

    [SOLVED] Combining Macros for Template

    Hi, I posted this earlier, but I think I gave too much info and it was a little confusing, so here goes again...a little more to the point.

    I am trying to combine these two macros into one for a template that I use to paste data from a daily spreadsheet and then after it is formatted with these macros, it then is moved to my final monthly running spreadsheet.

    Please Login or Register  to view this content.
    After that macro, I click on the last cell of the last row and column of data and then use this macro...

    Please Login or Register  to view this content.
    I think the answer is a code that can find the last cell of data on the page and then make that the new active cell before beginning the second macro. The problem with that is that I have the template set up for as many as 2,000 rows when I may only use 20 some days...and some of my formulas create text down all 2,000 rows that would be problematic in doing this.

    I could; however, insert a column at the end with a formula that will always input a certain symbol, like a * or something...so that the macro can search for the last instance of the * and make that cell the new active cell to begin the next macro.

    Possibly there could even be a code that as I am using the first macro to paste in the information from the original spreadsheet to my template, it deletes everything on the template after that, which could then allow the next part of the macro to search for the last cell with data in it.

    I just don't know enough about coding to figure out the easiest way to do this.

    Any suggestions?
    Last edited by amyxkatexx; 11-25-2009 at 01:40 PM. Reason: Added link to old thread.

  2. #2
    Forum Contributor amyxkatexx's Avatar
    Join Date
    11-23-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2004 for Mac
    Posts
    128

    Re: Combining Macros for Template

    I'm guessing this must be unsolvable because no one has given me any ideas yet. If someone at least knows what I am talking about and knows that it can't be done...would they let me know so I will stop searching. Thanks!

  3. #3
    Forum Contributor amyxkatexx's Avatar
    Join Date
    11-23-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2004 for Mac
    Posts
    128

    Re: Combining Macros for Template

    I figured it out, so nevermind.

    Here's what I have now...

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1