+ Reply to Thread
Results 1 to 6 of 6

Thread: Need help transfering cell data to a form

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    Western Michigan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need help transfering cell data to a form

    I'm not really sure how to ask what I am trying to do. Maybe someone can point me in the right direction.

    So this is what I want to do: My spreadsheet has about 2100 rows, in each row there are columns such as Location Number, city, state, address, telephone, general notes. I need to transfer the information from these cells for each row to go on a form (either a word document or similar) to basically make a one page sign off sheet for my workers to get signed in the field. So basically I would have 2100 different documents with the information from each row filled into each one.

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,222

    Re: Need help transfering cell data to a form

    You have a "template" and a "database" and you want to fill the "template" out with all the data from one row of the database, print it, then fill in the next row of data, etc. ?
    _________________
    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
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,222

    Re: Need help transfering cell data to a form

    'FILL OUT A TEMPLATE FROM A DATABASE
    I have a macro for taking the data from a database sheet and filling out a template sheet over and over again with the data.The macro fills out the template and saves each one as a separate file OR creates a separate sheet, your choice. That last part can be tweaked to do other things, this is mainly to demonstrate a simple way to fill out a form from a row-based database.
    _________________
    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!)

  4. #4
    Registered User
    Join Date
    01-25-2012
    Location
    Western Michigan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need help transfering cell data to a form

    Yes I have a database which is in rows. The data in the cells needs to go to fields on a template (word doc or similar). Each one would become a separate file preferably named by an id number. So what I am trying to do requires some programming? I don't have much experience in that area. What is the programming language? Any good tutorials out there to get me going?

  5. #5
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,222

    Re: Need help transfering cell data to a form

    VBA is the language used for the programming environment built into Excel. The link given above is to an Excel macro. There is a sample sheet attached to that page so you can see the concept in action.

    VBA takes some learning, but it's not rocket science. You can do it if you commit some time.
    _________________
    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!)

  6. #6
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,634

    Re: Need help transfering cell data to a form

    Reading this through I would think that you should set up the form for printing in an Excel sheet. Then populate that form from the database using VLOOKUP, you just need a unique id column for each line
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ 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.2.0