+ Reply to Thread
Results 1 to 3 of 3

How can I generate a code to print out a folder with word documents?

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    40

    Exclamation How can I generate a code to print out a folder with word documents?

    Hi guys

    Basically I have a folder on this path :

    G:\HEALTH AND SAFETY\1 HEALTH AND SAFETY MANAGEMENT SYSTEM\4- RECORDS\4.2 OCM RECORDS\RAMS\RISK ASSESSMENTS\RISK ASSESSMENTS\2015 Approved - Site Mock

    I have created a button in excel and I am looking for a way to run a code that when I click it will print out all of the documents in the folder and staple them well. Once it is all done everything stays the same and the same process gets repeated once every quarter.

    The only drawback I can say at the moment is that the word documents are linked to one master word document that populates all the other pages. This means that everytime I open the word document you have to action the dialogue box that asks whether you want the document to be updated and thats always a yes and I am trying to find a way to stop that from popping up.

    Is getting VBA to print possible?

  2. #2
    Valued Forum Contributor meabrams's Avatar
    Join Date
    10-03-2014
    Location
    USA
    MS-Off Ver
    2007, 2010, 2013, 2016
    Posts
    451

    Re: How can I generate a code to print out a folder with word documents?

    I cant figure stapling out but you should be able to to set that be for you run the macro this might work for what you want/need for the print out

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-16-2015
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    40

    Re: How can I generate a code to print out a folder with word documents?

    Hi Meabrams

    Thank you very much for your help. However I have tried to run it and I am wondering if there are more parts I need to edit and personalise in the code in order for it to run and print the documents in the folder '2015 Approved'. Now the documents in THE folder are named "OCMRA 001" to "OCMRA 026". When I have run it by pressing F8 it does stop at 'Path = ActiveWorkbook.Path & "\" I think there is something I am doing wrong in trying to justify the code.

    Thank you If you can help me that would be much appreciated

+ 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. Convert Word Documents in a folder to PDF
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-24-2014, 12:23 PM
  2. Import tables from all Word documents within a folder into excel
    By Milk Snake in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2014, 12:03 PM
  3. Excel VBA code to read from Word documents in a folder and Print it to Excel
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2013, 11:04 PM
  4. Generate Word documents out of Excel
    By Wende in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2013, 11:22 AM
  5. [SOLVED] Code to print all word documents from a folder
    By Scal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2013, 04:44 PM
  6. [SOLVED] How to execute bunch of word documents in a folder one by one.
    By sugaprasad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2013, 03:22 AM
  7. How do I print a LIST of documents in a folder
    By littlebear20 in forum Excel General
    Replies: 2
    Last Post: 08-16-2006, 06:45 PM

Tags for this Thread

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