+ Reply to Thread
Results 1 to 2 of 2

Macro to save documents generated with word/excel automatically

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    Groningen
    MS-Off Ver
    2010
    Posts
    1

    Macro to save documents generated with word/excel automatically

    At this moment, i have a document where you enter several output from other programs, this data is converted into some statistics and graphs per person depending on who you select in a combobox (form control). this works fine at this moment.
    the excel is connected to a MS Word document which displays the graphs and statistics from the person selected in the excel document.

    i would like to have a button that automatically saves the individual document as PDF with a different name.

    manual: open both documents
    manual: click on the macro
    macro: go to first of the combobox list (this can be done by changing output of combobox to 1)
    loop
    macro: open word and safe as pdf
    macro: if number of people that have to be done is same as output combobox, end
    macro: go to the next of the list (change output combobox by +1)
    end loop

    i have tried it for a long time but cannot manage it.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Macro to save documents generated with word/excel automatically

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

+ 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. [SOLVED] Macro for mail merge and save as word documents
    By aganesan99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2013, 09:16 AM
  2. [SOLVED] Using Excel Macro to Print Word Documents
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2013, 01:15 AM
  3. Pulling Address Generated Word Documents
    By aalafalot in forum Word Formatting & General
    Replies: 5
    Last Post: 09-07-2012, 06:39 PM
  4. Macro to merge Excel information and Word documents?
    By danb1985 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2010, 06:14 PM
  5. Open and Save Word Documents via Excel
    By abousetta in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-22-2010, 02:54 PM

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