Word 97 & VBA Scripts

MYstIC G

Official Licensed Lump of Coal™ Distributor
Staff member
Moderator
FH Subscriber
Joined
Dec 22, 2003
Messages
12,362
Righty, anyone any cop at these?

I'm looking to knock up quite a simple one to go with a template that's used at work. Basically it involves inserting photos repeatedly into documents from a single directory.

Ideally I need to script something where:
  • I paste in the path & filename of the last photo in the sequence (e.g. P:\Monday\Hat Pictures 198.jpg)
  • Word uses that to figure out there are 198 pictures
  • Word then starts at picture 001, carrys out some insert commands and then loops until it gets to 198.

Anyone got any good resources for stuff like this?
 

Users who are viewing this thread

Top Bottom