J
Judy Voyles
I have a published form that I have distributed to several users and they
have published it in there 'Personal Forms Library'. I am needing to remove
this form from the 'Personal Forms Library' with a script file so that I can
publish another form with the same name but a different message class.
I use the following code to locate the form description object but nothing I
have tried from this point will allow me to remove it.
Set objOL = CreateObject("Outlook.Application")
set olns = objOL.GetNameSpace("MAPI")
Set myfldr = olns.GetDefaultFolder(6)
numitms = myfldr.items.Count
for I = 1 to numitms
set myitem = myfldr.items(I).formdescription
if myitem.messageclass = "IPM.Note.ADS Request" then
?????????????????
end if
next
msgbox "Done"
If anyone has any suggestions....
Thanks
have published it in there 'Personal Forms Library'. I am needing to remove
this form from the 'Personal Forms Library' with a script file so that I can
publish another form with the same name but a different message class.
I use the following code to locate the form description object but nothing I
have tried from this point will allow me to remove it.
Set objOL = CreateObject("Outlook.Application")
set olns = objOL.GetNameSpace("MAPI")
Set myfldr = olns.GetDefaultFolder(6)
numitms = myfldr.items.Count
for I = 1 to numitms
set myitem = myfldr.items(I).formdescription
if myitem.messageclass = "IPM.Note.ADS Request" then
?????????????????
end if
next
msgbox "Done"
If anyone has any suggestions....
Thanks