Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.newusers
Yarroll
 
Posts: n/a
Default Word slideshow

Hello,

Is there a method to make Word a slideshow tool for text documents in a
specific folder? Word would open these documents one by one for, say 2-3
seconds each and then close them down. The best I managed to come up with is
inserted below, obviously I'm missing some sort of a "Pause" statement to
tell Word to stop for a while on the line marked below.
My top dream would be to make Word stop for as long as needed on an open
document (keyboard combination) and then resume the routine (by another
keyboard combination). Otherwise, with a few thousand files in a folder -
all of which need to be opened for 3 seconds each - I'd be glued to the
screen for hours :-((
Thanks. All the best
Yarroll
------------

Dim wbkDocument As Document
Dim i As Long

Application.ScreenUpdating = False

With Application.FileSearch
..NewSearch
..LookIn = "E:\work"
..SearchSubFolders = False
..FileName = "*.txt"
..MatchTextExactly = True
..FileType = msoFileTypeWordDocuments
If .Execute(msoSortByFileName) 0 Then
For i = 1 To .FoundFiles.Count
Set wbkDocument = Documents.Open(.FoundFiles(i))
wbkDocument.Activate

' this is where I want Word to stop for a while

wbkDocument.Close

Next i
Else
MsgBox "No documents!"
End If
End With
Application.ScreenUpdating = True

End Sub


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why dont MS just f**king re-write Word from scratch? Its dogsh*t Word Hater Microsoft Word Help 33 May 5th 23 02:52 PM
Word should allow to 'divide' page by 3 or 4, not just 2 CandasK Page Layout 2 February 28th 06 10:16 PM
Converting Word Perfect forms to Word forms elyse Microsoft Word Help 1 February 15th 06 08:17 PM
WP merge file to Word sstires Tables 4 February 14th 06 06:26 PM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM


All times are GMT +1. The time now is 03:15 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Š2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"