+ Reply to Thread
Results 1 to 7 of 7

Possible to auto populate the data that i wanted from a main list to specific template

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Exclamation Possible to auto populate the data that i wanted from a main list to specific template

    hi all,

    Appreciate if u can help.

    I have a excel spreadsheet (main list) which needed my staff to fill in. I also planning to insert another excel form on another sheet.

    Lets say i have 10 rows in main list, but i only want certain rows to be inserted to another excel form for approval.

    How can i make the automation for this?

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    How do you determine which rows should or should not be inserted to the other sheet? Post a sample workbook with any sensitive information removed, and preferably also with the desired results in another worksheet.

  3. #3
    Registered User
    Join Date
    08-01-2013
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    Quote Originally Posted by millz View Post
    How do you determine which rows should or should not be inserted to the other sheet? Post a sample workbook with any sensitive information removed, and preferably also with the desired results in another worksheet.
    excelforum.xlsxexcelforum.xlsx

    Sorry if there is any confusion as its my first time posting here. Here is attached file.

    I will only want rows with P entered in the first column to be populated into the form. Entry in "Sample Form" is what i expected.

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    Try this. Open workbook, enable macros, and click the button in the worksheet "Sample Form"
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-01-2013
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    thank u very much! could you teach me how to create the button and the command also?

  6. #6
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    Welcome.

    To create a button, you need to enable the Developer tab in the ribbon.
    Click on Office menu, Excel options, under Popular, tick 'Show Developer tab in the Ribbon' checkbox. (May differ in Excel 2010, I am not sure)

    Now on your menu you should see 'Developer', go there and click Insert -> choose Command button under ActiveX control.
    With your mouse, just click and drag on the worksheet to create the button as you would do a Shape object. By default you should go into Design mode (indicated by depressed button in the Ribbon), then double click on the button you have just created, this should bring you to the VBA editor. You can code the commands from there.

    As for teaching you on how to start programming VBA, I'll leave it to the online guides out there. You can also check here when time permits.

  7. #7
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague, Czech rep.
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    138

    Re: Possible to auto populate the data that i wanted from a main list to specific template

    Hi psngik,

    I can see your initial issue has been resolved, So just a little spill on the second thing which has been brought up in here.

    As for the start IŽd recommend you to try out macro recording feature which when enabled records all your moves etc. in the vba module where you can than see it, modify it and than use it for your good....Its kinda the first step which i feel like every vba newcome should try out you learn the structure of the code and the syntax used by the office apps...

    (to record macro u can use the little button down on the status bar with the little red dot; to enter vba editor push "alt+f11")

    Best regards

    Soul
    Last edited by SoulPrisoner; 09-12-2013 at 04:17 AM. Reason: typo

+ 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. Replies: 23
    Last Post: 08-13-2013, 08:50 AM
  2. Auto-populate specific data from one sheet to another
    By fowlspace in forum Excel General
    Replies: 4
    Last Post: 10-17-2012, 09:19 PM
  3. Replies: 6
    Last Post: 08-16-2012, 10:02 AM
  4. Replies: 3
    Last Post: 06-24-2012, 02:01 AM
  5. VBA to name new TAB and populate with Specific wanted information from Rows
    By Zimbo in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 02-09-2008, 02:21 AM

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