1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Opening Word from powerpoint with VBA

Discussion in 'Business Applications' started by Red2034, Oct 26, 2007.

Thread Status:
Not open for further replies.
  1. Red2034

    Red2034 Thread Starter

    Joined:
    Apr 16, 2007
    Messages:
    178
    I have a word doc i would like to open & modify based on some control text boxes in a powerpoint PPT file.

    I have code that works if I am already in the word doc....

    Dim rngStory As Range

    For Each rngStory In ActiveDocument.StoryRanges

    With rngStory.Find
    .Text = "Question"
    .Replacement.Text = Question
    .MatchCase = True
    .MatchWholeWord = True
    .Wrap = wdFindContinue
    .Execute Replace:=wdReplaceAll
    End With
    Next rngStory


    but dont know how to start the process.... any help????
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/643906

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice