A
Amir
Hi!
I'm trying to compile a normal.dot project using the following command:
application.VBE.VBProjects.Item("Normal").MakeCompiledFile
from the immediate window but I get the following error:
Run-time error '768'
Method or property is not valid in this type of project.
I don't know why is that. the Normal Project exists. If I type:
debug.print application.VBE.VBProjects.Item("Normal").Name
I get:
Normal
in the immediate window.
the Normal project contains only the following procedure:
Sub try()
MsgBox "check"
End Sub
I've tried opening the Help file about this error but it gives me blank gray
screen without any help in it.
What's the reason for that?
Regards,
Amir.
I'm trying to compile a normal.dot project using the following command:
application.VBE.VBProjects.Item("Normal").MakeCompiledFile
from the immediate window but I get the following error:
Run-time error '768'
Method or property is not valid in this type of project.
I don't know why is that. the Normal Project exists. If I type:
debug.print application.VBE.VBProjects.Item("Normal").Name
I get:
Normal
in the immediate window.
the Normal project contains only the following procedure:
Sub try()
MsgBox "check"
End Sub
I've tried opening the Help file about this error but it gives me blank gray
screen without any help in it.
What's the reason for that?
Regards,
Amir.