Opening Word from powerpoint with VBA

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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????
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Staff online

Top