#1
|
|||
|
|||
User forms are not saving in vba ms word
When creating user forms in via ms word the form will not save when I close the document, when using via ms excel the user forms are save. What is stopping the forms from being save?
|
#2
|
||||
|
||||
Are you saving the document as macro enabled?
Is the userform actually in the document and not in the normal template?
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
I have try with user forms in the normal template and the doc. They appear in the folder but when I close the doc they are not they when I reopen the doc. User forms are saved in excel vba but not in word can.
|
#4
|
||||
|
||||
You haven't answered the question! When you save the document, what file format are you saving it in? Documents saved in the docx format cannot contain macros (or userforms); only Documents saved in the doc or docm formats can. It's the same with Excel (i.e. Workbooks saved in the xlsx format cannot contain macros (or userforms)).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
other user's mailbox won't open, forms disappeared | dunndealpr | Outlook | 0 | 12-22-2017 06:55 AM |
VBA user forms for auto filling word document | NickDenton | Word VBA | 1 | 05-24-2017 08:26 PM |
I'm not sure if this is possible; regarding forms and file saving/printing. | Stench | Word | 1 | 05-09-2015 01:41 AM |
Import/compile Word user forms into an Excel sheet | mypouf | Excel Programming | 2 | 07-18-2014 09:34 PM |
Printing and Saving Outlook Forms | JoyC | Outlook | 0 | 05-23-2012 03:37 AM |