+ Reply to Thread
Results 1 to 4 of 4

VBA to copy from one sheet to another

  1. #1
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    VBA to copy from one sheet to another

    Hi.

    I am trying to piece a macro together from 2 different macros and only half of it is working.

    The first half works, but when it gets to the part where I want it to copy from the "Preferences" sheet, it doesn't do anything.

    What do I need to change to get that part to work?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,740

    Re: VBA to copy from one sheet to another

    I suspect that you have those lines the wrong way round, this
    Please Login or Register  to view this content.
    is copying from the active workbook to the workbook the code opened, should it be
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-08-2017
    Location
    Murfreesboro, TN
    MS-Off Ver
    MS 365
    Posts
    168

    Re: VBA to copy from one sheet to another

    Quote Originally Posted by Fluff13 View Post
    I suspect that you have those lines the wrong way round, this
    Please Login or Register  to view this content.
    is copying from the active workbook to the workbook the code opened, should it be
    Please Login or Register  to view this content.
    LOL! I feel stupid. Yes, that worked. Thanks for your help

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,740

    Re: VBA to copy from one sheet to another

    You're welcome & thanks for the feedback.

+ 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 to copy all rows in any sheet with 1 in column A and copy entire row to specific sheet
    By Lazarus Rises in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-21-2020, 02:17 AM
  2. Replies: 19
    Last Post: 08-02-2018, 10:54 PM
  3. VBA code - copy info from sheet 1 to sheet 2 but NOT COPY BLANK CELLS
    By Yossarian1980 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2017, 06:09 PM
  4. Replies: 1
    Last Post: 02-09-2017, 05:36 AM
  5. Replies: 1
    Last Post: 02-09-2017, 05:30 AM
  6. Replies: 1
    Last Post: 01-07-2013, 12:23 AM
  7. Replies: 11
    Last Post: 10-14-2012, 01:03 PM

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