(Msg. 1) Posted: Wed Jul 16, 2008 2:44 pm
Post subject: SOLVED: Problem calling userform at Document New Add to elertz
Hello All,
I am in the process of creating several document templates that use userforms. When the .dot file is opened as New, a new .doc is created, the userform is launches, the data is input, and the document updated accordingly.
This morning, seemingly randomly, one of my templates started refusing to work. When a new document is created from the template, the .doc is created but instead of launching the userform, an error pops up that says:
Quote:
Runtime Error '5941':
The requested member of the collection does not exist.
When I debug it brings me to this line of my code:
Code:
Load frmClientInformation
The most frustrating thing about all of this is that the code used in this template is IDETICAL to the code used in my other templates, that are still working.
I've double checked the name of the userform, I've deleted all my code/userform and pasted in the code/userform from a working template and get the same error. I am nearly at my wits end!
Does anyone have any ideas what the problem may be? I will gladly post my code if needed.
Thanks!
Last edited by wgodfrey5 on Fri Jul 18, 2008 9:58 am; edited 1 time in total
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum