+ Reply to Thread
Results 1 to 5 of 5

Macro to copy paste between two workbooks (Excel 2016) fizzling

  1. #1
    Registered User
    Join Date
    07-10-2017
    Location
    SSD Samurai
    MS-Off Ver
    2016
    Posts
    8

    Macro to copy paste between two workbooks (Excel 2016) fizzling

    Macro's goal: Copy selected range from File1 to the last row of a specified sheet in password-protected File2.

    I'm at this point:
    CompileError.png

    I'm a total noob when it comes to coding so any and all input is appreciated.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to copy paste between two workbooks (Excel 2016) fizzling

    Remove the quotation marks " after the variable lRow ...
    And remove the ) at the end ...
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,284

    Re: Macro to copy paste between two workbooks (Excel 2016) fizzling

    Can't see rest of code but start by removing the red characters in code
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    07-10-2017
    Location
    SSD Samurai
    MS-Off Ver
    2016
    Posts
    8

    Re: Macro to copy paste between two workbooks (Excel 2016) fizzling

    Tagging the thread solved as I got the answers.

    Most grateful to both of you.

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,284

    Re: Macro to copy paste between two workbooks (Excel 2016) fizzling

    Pleasure... Glad we could assist. Tx for rep +

+ 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. Copy /paste excel data with mouse over comments to outlook 2016.
    By Rakeshkrishnan01 in forum Excel General
    Replies: 3
    Last Post: 06-28-2017, 02:24 PM
  2. Copy/Paste deselects cell (Excel 2016)
    By joaosantos.87 in forum Excel General
    Replies: 3
    Last Post: 05-20-2016, 03:07 PM
  3. Replies: 2
    Last Post: 04-27-2016, 11:30 AM
  4. macro? copy and paste from different workbooks
    By Little Guy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2013, 01:59 PM
  5. macro to copy and paste between 4 workbooks
    By redraon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-09-2011, 02:13 AM
  6. [SOLVED] Macro to copy and paste between two workbooks
    By Paula in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2005, 06:06 PM
  7. Replies: 6
    Last Post: 04-05-2005, 03:06 PM

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