+ Reply to Thread
Results 1 to 3 of 3

Copy data and paste to appropriate page and range

  1. #1
    Registered User
    Join Date
    06-05-2021
    Location
    Ohio, USA
    MS-Off Ver
    2019
    Posts
    14

    Copy data and paste to appropriate page and range

    In over my head again.

    I'm trying to create a macro that will

    1. Copy input data (Range named "FacData", cells W5:AC5 on sheet Input).
    2. Find the appropriate sheet based on range named "DataMonth" -- I.e. "JAN" (to sheet Jan_Payer_Entry), "FEB" (to sheet Feb_Payer_Entry).
    3. Go to the appropriate row based on "Fac" input, and appropriate column number based on "DataDay" value

    I've tried several variations (even Chat Gpt generated code).. nothing working. File is attached. My last macro attempt is "A_CopyFacDataToSelectedSheet()"

    Help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Copy data and paste to appropriate page and range


    Quote Originally Posted by brausten View Post
    (even Chat Gpt generated code)
    Forget it ‼

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

    Re: Copy data and paste to appropriate page and range

    Here is an easy to understand solution...I notice that not all your Tabs are present...
    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!!!

+ 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. Simple VBA to copy full page from a website page and paste back into excel page
    By popper08 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2021, 12:38 PM
  2. [SOLVED] Copy data from specific range on all worksheets, paste onto summary page
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-22-2018, 09:32 PM
  3. Replies: 0
    Last Post: 04-01-2017, 10:02 PM
  4. Create Macro to copy and paste data from one worksheet to another and enter page breaks
    By haleakala17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 02:23 PM
  5. Copy auto insert page number and paste to a textbox on same page
    By thadacto in forum Word Formatting & General
    Replies: 3
    Last Post: 03-26-2013, 07:37 AM
  6. Replies: 5
    Last Post: 01-27-2010, 05:22 PM
  7. Replies: 1
    Last Post: 03-26-2006, 07:00 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