Jean-Guy
Tue Jan 11 13:54:08 CST 2005
Alex was telling us:
Alex nous racontait que :
> How to rename a class or module in a project window in VB?
> The Module1 to something name and the Class1 to something name?
>
If you mean to do it by code, play around with something like:
ActiveDocument.VBProject.VBComponents("Module1").Name = "NewModule"
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site:
http://www.word.mvps.org