deleting a form with different results

C

cdahle

Hi,

is there someone in the world who is able to help me?

I'm programming an update-tool for my project-vba-solution. In this
tool i have to delete userforms with

sub mysDelete()
OrganizerDeleteItem Type:=pjModules, FileName:="file.mpp",
Name:="UserForm1"
OrganizerDeleteItem Type:=pjModules, FileName:="file.mpp",
Name:="UserForm2"
OrganizerDeleteItem Type:=pjModules, FileName:="file.mpp",
Name:="UserForm3"
OrganizerDeleteItem Type:=pjModules, FileName:="file.mpp",
Name:="CRAOUserForm1"
OrganizerDeleteItem Type:=pjModules, FileName:="file.mpp",
Name:="CRAOUserForm2"
end sub

By debugging the code i see that UserForm1, UserForm2 and UserForm3
were deleted at once and CRAOUserForm1 and CRAOUserForm2 were deleted
when the sub mysDelete is over.

UNLOAD CRAOUserForm1
UNLOAD CRAOUserForm2
set CRAOUserForm1 = nothing1
set CRAOUserForm1 = nothing2

doesn't help.


What may be the reason for this?

Greetings

C. Dahle
 
M

Mike Glen

Hi C Dahle,

Try posting on the developer newsgroup. Please see FAQ Item: 24. Project
Newsgroups. FAQs, companion products and other useful Project information
can be seen at this web address: http://project.mvps.org/faqs.htm

Mike Glen
Project MVP
 

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