Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2016, 07:07 AM
mktate mktate is offline .DOTM files not opening as .DOCX with userform Windows 10 .DOTM files not opening as .DOCX with userform Office 2010 64bit
Novice
.DOTM files not opening as .DOCX with userform
 
Join Date: Dec 2015
Posts: 26
mktate is on a distinguished road
Default


Quote:
Originally Posted by macropod View Post
Why is the template being opened? You should be creating a new document from it (e.g. by double-clicking on the template or by selecting it via File>New).
The templates are being opened from the Userform depending upon user answers - so you can't click on file etc. I found the answer myself- use Documents.Add instead of Documents.Open with .dotm files and it does open correctly -
Reply With Quote
  #2  
Old 02-26-2016, 02:17 PM
macropod's Avatar
macropod macropod is offline .DOTM files not opening as .DOCX with userform Windows 7 64bit .DOTM files not opening as .DOCX with userform Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by mktate View Post
I found the answer myself- use Documents.Add instead of Documents.Open with .dotm files and it does open correctly -
Precisely! Your code was opening the template for editing, not creating a new document from it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 360: Opening .docx document arjfca Word 2 08-22-2015 04:20 AM
.DOTM files not opening as .DOCX with userform Opening Word /Excel reinstalls files, loses recent files adj1 Office 3 05-10-2013 12:27 AM
.DOTM files not opening as .DOCX with userform Docx files not opening with Office 2013 IceWine Word 3 01-09-2013 05:26 PM
.DOTM files not opening as .DOCX with userform How to convert docm to dotm without opening the file Moz Word 1 12-20-2012 04:23 PM
.DOTM files not opening as .DOCX with userform Opening .docx attachment ADKREV Word 4 01-24-2011 02:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft