Results 1 to 7 of 7

VBA script to substitute text from an excel sheet into various word docs by filepath

Threaded View

  1. #1
    Registered User
    Join Date
    09-09-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2019
    Posts
    52

    VBA script to substitute text from an excel sheet into various word docs by filepath

    Hi,

    I'd be grateful for some advice on the following VBA requirement I have, which I imagine has been created in one form or another but I've not been able to track it down.

    The company I work for has a word doc template for an inspection report. The user has to edit each report and fill in the data about a property. It would be useful to edit the data in a centralised work sheet, and then have this placed in the respective word documents for each property using either a substitution approach. I don't think mail merge is feasible as the company template is very and formatted with corporate branding etc.

    Is it possible to create a VBA that, when you tell it the filepath of a word document, can substitute a string for another desired string contained in the excel sheet?

    I've attached a zip folder which contains what I am looking to achieve.

    Thank you

    Tom
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA script to get number of pages of word documents in excel sheet
    By mayurthakor13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2017, 03:05 AM
  2. converting excel macro into a google docs script??
    By scottatbuckman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2016, 12:47 PM
  3. [SOLVED] Aggregate Batch Data from many word docs into an Excel (i.e.Check Boxes, Text Form Fields)
    By Chrisdudley7 in forum Word Formatting & General
    Replies: 7
    Last Post: 05-13-2014, 01:28 PM
  4. Copying data from multiple word docs into one excel sheet
    By X82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2013, 07:24 AM
  5. Import cells from excel into word and create multiple word docs
    By scdaddy7269 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2006, 03:03 PM
  6. Embedding Word Docs into Excel Worksheets and Then Printing The Word Docs
    By mr_melvis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2005, 10:06 PM
  7. [SOLVED] converting excel docs to word docs
    By rolercster in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-04-2005, 04:06 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