• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications

    Operating systems & applications Looking for that application for Windows? needing advice with your Linux setup? - ask here! Add RSS Feed

    Reply
     
    LinkBack Thread Tools
    Old 07-03-2005, 04:06 PM   #1 (permalink)
    daft ideas inc.
     
    scottyman's Avatar
     
    Join Date: Jul 2003
    Location: Kiwi living in Upper Bucklebury
    Posts: 1,515
    Thanks: 1
    Thanked 1 Time in 1 Post
    View scottyman's Twitter Profile
    trying to work out a REALLY easy way to batch create word reports

    hey guys-
    I've created a site to do performance reviews of staff - and am getting loads of lovely CSV files for each staff member - however - the nice easy way of generating reports based purely on numbers is out the window, and need to create Word docs to show lovely charts instead (management requirement)
    I'm trying to work out a fast, easy way of batching these reports, and have modified the data so I'm getting new "valid" responses for each question.
    i.e. grade staffer 1-5 for performance, or select 6 for can't comment (and stores N/A so it won't stuff up the averages)
    70-odd questions, with a dozen or so responses from each question - can generate the charts fine, but need a nice elegant way to batch process this into cute word docs

    scottyman is offline   Reply With Quote
    Old 07-03-2005, 04:08 PM   #2 (permalink)
    sneaks quietly away.
     
    schmunk's Avatar
     
    Join Date: May 2004
    Location: Wiki Wiki Wild West side... of Sussex
    Posts: 4,288
    Thanks: 38
    Thanked 134 Times in 102 Posts
    schmunk's system
    Mail Merge?
    schmunk is offline   Reply With Quote
    Old 07-03-2005, 05:26 PM   #3 (permalink)
    daft ideas inc.
     
    scottyman's Avatar
     
    Join Date: Jul 2003
    Location: Kiwi living in Upper Bucklebury
    Posts: 1,515
    Thanks: 1
    Thanked 1 Time in 1 Post
    View scottyman's Twitter Profile
    no, unfortunately won't play nicely - not to worry - will see how complicated I can make a spreadsheet to autogen it - then hopefully just work out someway to get it out as a word doc

    scottyman is offline   Reply With Quote
    Old 07-03-2005, 05:32 PM   #4 (permalink)
    sneaks quietly away.
     
    schmunk's Avatar
     
    Join Date: May 2004
    Location: Wiki Wiki Wild West side... of Sussex
    Posts: 4,288
    Thanks: 38
    Thanked 134 Times in 102 Posts
    schmunk's system
    Originally Posted by scottyman
    hey guys-
    I've created a site to do performance reviews of staff - and am getting loads of lovely CSV files for each staff member - however - the nice easy way of generating reports based purely on numbers is out the window, and need to create Word docs to show lovely charts instead (management requirement)
    I'm trying to work out a fast, easy way of batching these reports, and have modified the data so I'm getting new "valid" responses for each question.
    i.e. grade staffer 1-5 for performance, or select 6 for can't comment (and stores N/A so it won't stuff up the averages)
    70-odd questions, with a dozen or so responses from each question - can generate the charts fine, but need a nice elegant way to batch process this into cute word docs
    Having looked back through this - 70-odd questions? Do you work for the Inquisition?
    schmunk is offline   Reply With Quote
    Old 07-03-2005, 05:32 PM   #5 (permalink)
    IRN-BRU(tm)
     
    Join Date: Aug 2004
    Location: Milton Keynes
    Posts: 466
    Thanks: 7
    Thanked 7 Times in 5 Posts
    look in to using VBA macros - you should be able to interchange your data fairly easily without too much fanying around

    Listen to BBC 6 Music it ROCKS Direct link (.asx)
    Purple is offline   Reply With Quote
    Old 07-03-2005, 06:09 PM   #6 (permalink)
    daft ideas inc.
     
    scottyman's Avatar
     
    Join Date: Jul 2003
    Location: Kiwi living in Upper Bucklebury
    Posts: 1,515
    Thanks: 1
    Thanked 1 Time in 1 Post
    View scottyman's Twitter Profile
    was thinking about that - might have a fiddle later on.
    if you mean am i working for the (dramatic pythonesque pause) "Spanish Inquisition" - then no - merely an HR company who know what they like, and like to have pretty documents - rather than graphs and charts generated automatically in PHP (which frankly is much easier - considering you're only dealing with arrays) but - getting word documents out of PHP appears harder! and frankly - for something that they'll be running themselves - it's really not worth the tech support time!

    scottyman is offline   Reply With Quote
    Old 07-03-2005, 06:38 PM   #7 (permalink)
    IRN-BRU(tm)
     
    Join Date: Aug 2004
    Location: Milton Keynes
    Posts: 466
    Thanks: 7
    Thanked 7 Times in 5 Posts
    seriously VBA - you could have a word document named say "Make reports for dumb people.doc" which when opened, runs a macro that reads your output file and generates lots of word docs using similar (but not that similar) code to
    exl = createObject("Excel.appliction")
    exl.importFile("CSV output.dat", msoFormatCommaDelimited)
    mygraph = exl.createGraph(A, staffoffset, AE, recordlength)
    mygraph.makepretty
    mydoc = createObject("Word.Document")
    mydoc.addShape(mygraph)
    mydoc.savefileas("monkeys" + staffname + date)
    mydoc.print

    look in to the Application class, the createObject function, Collections (the structure of the docs is based on this), and the Shape ob and Shapes collection in word. Good luck

    Listen to BBC 6 Music it ROCKS Direct link (.asx)
    Purple is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On


    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    easy way to work out duff harddrive? streetster HEXUS.hardware 12 05-01-2004 08:25 PM



    All times are GMT. The time now is 12:16 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned.
    HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    For more information please read HEXUS Limited's terms, conditions and privacy policy.

    Hosted Exchange

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    © Copyright 2009 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.