+ Reply to Thread
Results 1 to 11 of 11

creating multiple file in excel with single template

  1. #1
    Registered User
    Join Date
    08-13-2010
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    13

    creating multiple file in excel with single template

    I am working in a compnay as HR Executive and I have to create 1600 individual PMS forms. I have a template in excel and need to create for indiviual employee the forms.

    Please can someone help me.

    I am attaching the template and the spreadsheet with details.

    Thanks in advance

    Regards
    Violet
    Last edited by violetserrao; 08-17-2010 at 01:15 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: creating multiple file in excel with single template

    Here's a macro from my website for filling out multiple copies of a template from a data sheet.
    Please Login or Register  to view this content.

    This was edited from the macro found here:
    Data into Template


    It operates from the data and template sheets being in the same workbook. You will need to expand the section that is inserting the values, and I didn't fill out the second template at all...had to leave something for you to do...
    Attached Files Attached Files
    Last edited by JBeaucaire; 08-14-2010 at 11:47 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-13-2010
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    13

    re: creating multiple file in excel with single template

    Quote Originally Posted by JBeaucaire View Post
    Here's a macro from my website for filling out multiple copies of a template from a data sheet.
    Please Login or Register  to view this content.

    This was edited from the macro found here:
    Data into Template


    It operates from the data and template sheets being in the same workbook. You will need to expand the section that is inserting the values, and I didn't fill out the second template at all...had to leave something for you to do...
    Thank you for your reply.

    As I click on create forms, I get an error.

    Compile error

    Next without for

    I want to know, when i create the forms, will the data from the data sheet, will get updated in the self evaluation sheet for the following
    Employee Name: Employee No. : Department & Location :


    Designation : Last Review Date 01st Jan, 10 Type of Appraisal (Circle One)
    Annual Other

    Evaluator Years/Mos. In Present Position Mos. Supervised by Evaluator


    Thanks

    Violet

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: creating multiple file in excel with single template

    Corrected above. Download the file and/or code again.

    NOTE: Do not QUOTE my entire post in yours. Just use the QUICK REPLY button.

  5. #5
    Registered User
    Join Date
    08-13-2010
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    13

    re: creating multiple file in excel with single template

    Thank you once again.

    When I click to to create forms.

    I get the error Run-Time error 1004


    Is it possible for me to get both the worksheets 1) Self Evalaution and 2) Manager Evaluation in single file for each employee when the form is created. As I need to give each employee both the sheets. Also Is there any way when the form is created, it is named with the Department + employee ID.

    I know its asking for too much. Please I need your help.

    Thanks

    Violet

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: creating multiple file in excel with single template

    Please read the Forum Rules & take more care with your Thread Titles - edited this time
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: creating multiple file in excel with single template

    1) You don't need the popup, you want BOTH sheets for each employee
    2) You don't need the "Create Separate Workbooks" prompt either, you DO want the macro to put each set of template sheets into a separate workbook and name the workbook: Department + employee ID

    Try this:
    Please Login or Register  to view this content.


    I'm not getting those errors on when I run the existing macro, so if you continue to get specific errors on a new sheet you're trying, be sure to post that Up so I can see the error, too.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: creating multiple file in excel with single template

    1) You don't need the popup, you want BOTH sheets for each employee
    2) You don't need the "Create Separate Workbooks" prompt either, you DO want the macro to put each set of template sheets into a separate workbook and name the workbook: Department + employee ID

    Try this:
    Please Login or Register  to view this content.


    I'm not getting those errors on when I run the existing macro, so if you continue to get specific errors on a new sheet you're trying, be sure to post that Up so I can see the error, too.
    Attached Files Attached Files
    Last edited by JBeaucaire; 08-16-2010 at 01:39 AM. Reason: Corrected PrintOption code

  9. #9
    Registered User
    Join Date
    08-13-2010
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: creating multiple file in excel with single template

    Thanks Jerry,

    The Worksheet works fine. The issue is that when I click on NO to printing option. It still prints.

    Thanks Once again

    Violet

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: creating multiple file in excel with single template

    Code corrected above.

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  11. #11
    Registered User
    Join Date
    08-13-2010
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: creating multiple file in excel with single template

    Thanks Jerry,

    Its works!!!!.


    Violet

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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