ApplyPictureBullet creates strange Project

B

Bruno G.

Hello!

Word 2003 SP1 on Windows XP Pro SP2

I have a strange thing happening... I created a sub that will
generate all sorts of Styles automatically.
One of the Style is an Outline Numbered List with Picture Bullets. I
finally found a way to create the Style correctly, but when the code
executes the .ApplyPictureBullet method, a
strange Project appears in the Project Explorer window.

It's displayed as 'Project ()', it doesn't appear in the Documents
collection, but has a 'ThisDocument' object. It also has a reference to
Normal.
I can save it using the 'Save' button in the VBE (the default name is '1',
not 'Doc1' as would be expected). When reopening it, it contains a series
of images I used for Picture Bullets.

Is there a way to get rid of this project ? Or prevent it's appearance?

Thanks

Bruno G.
 
W

Word Heretic

G'day "Bruno G." <[email protected]>,

I have an extensive article on setting lists via VBA coming out soon
on the MVP site (word.mvps.org) - its is quite possible it is what you
are doing with list templates is causing the problem.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Bruno G. reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top