+ Reply to Thread
Results 1 to 3 of 3

Map user input with table header

  1. #1
    Registered User
    Join Date
    07-23-2022
    Location
    Hong Kong
    MS-Off Ver
    2016
    Posts
    8

    Map user input with table header

    I am new to VBA but I have a project to work on so I would appreciate any help .

    The 'Jun Report' below is generated on a monthly basis at the end of the month. I need to map (Fries, Coke) into the 'Template' file. The data from the 'Jun Report' has to be mapped according to the month of the report in the 'Template' file.

    Jun Report
    Food Drink
    MTD Fries Coke


    As the monthly report 's file name is the same except for the month. My idea is to create an input box where user can type in the month and the respective month's report opens and copy the data (i.e. Fries, Coke). After that, make use of the user input (i.e. the month) to paste the copied data to the respective column (i.e. Based on the month of the report name) in the 'Template' file.

    Template
    Jun Jul
    Food Fries
    Drink Coke


    Many thanks!
    Last edited by skatey; 07-23-2022 at 01:03 PM.

  2. #2
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: Map user input with table header

    Just to give you a start

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-23-2022
    Location
    Hong Kong
    MS-Off Ver
    2016
    Posts
    8

    Re: Map user input with table header

    Thank you for this! It works and I managed to complete the project

+ 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. [SOLVED] User click cell, User input box shows up, User input Numerical Value, Output formula
    By femia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2022, 11:37 AM
  2. Do not allow user to input different value than in row above in table
    By jaryszek in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-04-2020, 06:04 AM
  3. User input to create a table, then user input to populate that table
    By cjsearles in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2019, 11:43 AM
  4. A Dynamic User-Input Table?
    By whahmira in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-17-2019, 05:10 AM
  5. Header/Footer automation with Custom User input
    By suiathon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2016, 04:16 PM
  6. Get values from input table to add data in output table depending on header
    By SBBmaster09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2016, 03:25 AM
  7. Replies: 3
    Last Post: 08-13-2015, 10:07 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