+ Reply to Thread
Results 1 to 3 of 3

Some help with copy/paste to next blank line macro

  1. #1
    Registered User
    Join Date
    08-15-2017
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365 ProPlus
    Posts
    15

    Some help with copy/paste to next blank line macro

    I am relatively new to Excel but learning quickly thanks to this forum, and I am very new to macros. I Have a macro written (sourced as bits and pieces from other posts on here) which copies data from a calculation sheet and pastes it to the next blank line in a summary sheet. The summary sheet is set up as one week per row, for 52 weeks. Everything works except in 4 columns I have a running total/average at the bottom for the year. Obviously in those 4 columns the data gets pasted below the totals, but I want them on the next blank line above this.


    Please Login or Register  to view this content.

    This is the section from the macro that needs tweaking.. I need to copy B19-I19 from one sheet into next blank line in columns G-N on the weekly data sheet, but there is totals formulas in G55-J55 at the bottom of the years data.



    Please Login or Register  to view this content.


    I also have the protect line at the end of the whole macro to finish off, but is there any way to reprotect it with a password through the macro? I will need this as there will be other people entering this data occasionally and would not want to lose any previous data on the sheet.
    TIA
    Last edited by bbennett77; 08-23-2017 at 01:31 AM.

  2. #2
    Registered User
    Join Date
    08-15-2017
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365 ProPlus
    Posts
    15

    Re: Some help with copy/paste to next blank line macro

    My apologies.. Fairly new to this forum as well. Other post will be deleted

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,780

    Re: Some help with copy/paste to next blank line macro

    Thanks. Your other thread has been locked.

    https://www.excelforum.com/forum-rul...rum-rules.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA copy paste adding Blank Line
    By Aeneren in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2015, 03:15 PM
  2. [SOLVED] On Double-Click, copy/paste to next blank line on different sheet
    By ahreluth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2015, 06:16 AM
  3. [SOLVED] Macro to copy and paste to the next available line.
    By dragonfly352758 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2013, 09:47 PM
  4. [SOLVED] VB code help- need copy cells in a row and paste to new sheet on next available blank line
    By Barbara Excel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-27-2012, 03:11 PM
  5. Replies: 0
    Last Post: 09-26-2012, 11:26 AM
  6. [SOLVED] Macro paste into the next blank line
    By josanba in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-01-2012, 11:07 AM
  7. [SOLVED] Copy a Range from sheet and paste the next blank line in another s
    By ca1358 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-02-2005, 05:18 AM

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