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
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