+ Reply to Thread
Results 1 to 3 of 3

Help with getting data to go from one spreadsheet to the correct named tab

  1. #1
    Registered User
    Join Date
    03-03-2015
    Location
    United States
    MS-Off Ver
    2010
    Posts
    18

    Help with getting data to go from one spreadsheet to the correct named tab

    A person in another forum i dont remember which one helped write this code for me.
    The code is written as such
    The two files will be in the same folder and the Pastedatahere.xlsx file has to be open.

    Originally i was only doing this a month a time but i am being requested to go back years.
    So i have attatched the file Pastedatahere.xlsx and the destination file Location.xlsx

    What i am asking if it can be done is for the data in Pastedatahere.xslx
    put the data from it to Location.xlsx in the correct month, day and hour

    Information on spreadsheets listed below

    From Pastedatahere columns
    A = Location
    B = Day
    C = Hour of day
    D = Counts from that day
    E = Month

    From Location.xlsx.
    Top row is day
    Column A is Hours
    And the tabs along the bottom of course are months

    The outcome should move the data from Pastedatahere.xslx and put the data in the correct month tab
    the correct day and the correct hour. i am sorry i am asking so much i am not a programmer at all
    but have been tasked to get this information.
    Thanks for any assistance. I know excel decent but not VBS at all. Working on learning it through what i have been shown and through the help wizard.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    88

    Re: Help with getting data to go from one spreadsheet to the correct named tab

    I don't know if I understood correctly, but try this macro:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-03-2015
    Location
    United States
    MS-Off Ver
    2010
    Posts
    18

    Re: Help with getting data to go from one spreadsheet to the correct named tab

    This worked exactly as i requested. Thank you so much i will exam the code so i understand it better and try to learn how to use VBS in my future.
    Thanks

+ 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. Edit Macro to send data to a Named spreadsheet instead of a new spreadsheet?
    By frankcase in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2019, 05:36 PM
  2. Spreadsheet not selecting correct data
    By David.Abbott555 in forum Excel General
    Replies: 16
    Last Post: 08-21-2019, 09:53 AM
  3. [SOLVED] Unsure of correct reference for named range.
    By JohnDoh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2015, 11:11 AM
  4. Replies: 3
    Last Post: 12-17-2014, 02:05 PM
  5. Correct Syntax for Named Worksheet
    By biocentrism in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-10-2014, 11:45 AM
  6. Replies: 4
    Last Post: 03-21-2013, 11:35 AM
  7. [SOLVED] Loosing correct hyperlnk location after sorting spreadsheet data
    By LostnSpace in forum Excel General
    Replies: 2
    Last Post: 02-02-2006, 06:20 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