home *** CD-ROM | disk | FTP | other *** search
- select oletable
- numfiles = adir(wordfiles,"*.doc")
- if numfiles > 0
- for i = 1 to numfiles
- append blank
- replace oletable.name with wordfiles(i,1)
- replace oletable.oletype with "MSWord"
- append general object from wordfiles(i,1)
- endfor
- else
- wait window "No Word files found. Press any key..."
- endif
-