+ Reply to Thread
Results 1 to 1 of 1

Thread: Copy and paste the template to the next portion of the screen, VBA

  1. #1
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    423

    Copy and paste the template to the next portion of the screen, VBA

    Hi there,

    I have this template file for fiscal year 11-12, but would like to add the flexibility to add new template when new fiscal year starts.

    What I want:

    1) hit that button
    2) Excel will copy the first 11-12 fiscal year table and paste it starting on row 15. (so it is one row after the previous year's total row, and all subsequent tables have exact same format)
    3) what's in C4 to Q13 should not copy over every time the button is clicked. So their contents should be cleared.

    I guess we can just do a manual copy and paste, but I just thought I wanted to play around with this macro and see where it takes me.

    How do I define the new range in where template is pasted? Using a for loop to find where the last row is prior to copying and pasting?

    Any ideas?
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0