+ Reply to Thread
Results 1 to 4 of 4

Extracting or exporting Data From Excel Individual ROW Directly to INDIVIDUAL page in word

  1. #1
    Registered User
    Join Date
    12-06-2013
    Location
    dscdc
    MS-Off Ver
    Excel 2010
    Posts
    3

    Extracting or exporting Data From Excel Individual ROW Directly to INDIVIDUAL page in word

    I have a long list of employees with emp name , emp code, department and mobile number in EXCEL. I have to export every single employess detail to separate page in word and take a print out of all pages. Please help me on this


    Example:

    SL EMPLOYEE CODE NAME DESIGNATION DEPARTMENT
    1 a x y z
    2 b p q r


    then in word it should be displayed as
    (Page 1)
    Sl -1 emp code-a name-x desig-b dept-z

    (Page 2)
    Sl-2 emp code-b name-p desig-q dept-r


    please help me on this

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Extracting or exporting Data From Excel Individual ROW Directly to INDIVIDUAL page in

    Hi and welcome to the forum

    I have 1 question for you...why???

    Im sure that some of the VBA guru's here could throw some VBA code together that will print a row per page for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-06-2013
    Location
    dscdc
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Extracting or exporting Data From Excel Individual ROW Directly to INDIVIDUAL page in

    I am a canteen manager, so for calculation of breakfast lunch and dinner i have a format of 30 days in which employess do their signature and take the food. So, for that i need it.

  4. #4
    Registered User
    Join Date
    12-06-2013
    Location
    dscdc
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Extracting or exporting Data From Excel Individual ROW Directly to INDIVIDUAL page in

    This is something i found somewhere. Can anyone please tell how and where to use this code. I am totally a new bee in this

    Try this. Test with very small sections to start with if you are actually using paper.
    Better if you can set to print to a pdf printer if you can for testing.

    1. Set your 'Rows to Repeat at Top' manually in Page Setup as usual (say rows 1-5).

    2. Select the group of rows you want to print (including disjoint rows if you want). This is just the student rows, not the heading rows.

    3. Run the macro below.


    Sub PrintSelectionOneLinePerPage()
    Dim c As Range

    ActiveSheet.ResetAllPageBreaks
    For Each c In Intersect(Selection.EntireRow, Columns("A"))
    ActiveSheet.HPageBreaks.Add c.Offset(1)
    Next c
    Selection.PrintOut
    ActiveSheet.ResetAllPageBreaks
    End Sub

+ 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. Transfer data from main page to individual tabs
    By BadExcelHeadache in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-02-2012, 09:26 AM
  2. Create individual word docs from Excel
    By athard in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-09-2009, 01:26 PM
  3. Extracting Comma Seperated data into individual Cells
    By Rmcnaught in forum Excel General
    Replies: 2
    Last Post: 07-18-2006, 04:04 PM
  4. Replies: 1
    Last Post: 03-30-2006, 11:30 PM
  5. [SOLVED] How do I add a hyperlink to an individual word in an Excel cell?
    By Rosalie in forum Excel General
    Replies: 2
    Last Post: 09-28-2005, 12:05 AM

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