inserting item by reference

R

René

Hi

I'm looking for the equivalent of the menu sequence "Insert...Item...Shortcut" with the
purpose of adding programmatically a shortcut to an item. I tried :
attachments.add objItem, 5
but nothing happens, although attachments.add "c:\temp\test.txt",5 works nicely to add a
file as attachment.

I suppose that adding files and adding items are a different matter in VBA ?


René
 
Top