Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-01-2016, 08:58 PM
SixSigmaGuy SixSigmaGuy is offline SaveAs problem Windows 10 SaveAs problem Office 2016
Novice
SaveAs problem
 
Join Date: May 2016
Posts: 4
SixSigmaGuy is on a distinguished road
Default SaveAs problem

I can't seem to do a saveas, saveas2, or save without the saveas dialog coming up. I've got it down to some pretty simple code that repros the problem every time.

Sub TestSaveAs()


Const FILE_TO_OPEN = "c:\temp\testopen.docx"
Const FILE_TO_SAVE = "c:\temp\testsave.docx"

Dim wd As Word.Document

Set wd = Word.Documents.Open(FILE_TO_OPEN)
wd.SaveAs2 FILE_TO_SAVE
wd.Close False
End Sub

It never reaches the wd.close command unless I do an on error resume next.

This only started happening recently, about the same time my machine was automatically upgraded to Office 2016. Doesn't happen in Excel, unless I create a Word object and use the Word's SaveAs2 method.

I've rebooted, rolled back (but not before Office 2016, as the restore point is no longer available), and everything else I could think of. Very frustrated. :-(
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
SaveAs problem SaveAs FileFormat ch1325 Excel Programming 8 04-11-2016 04:24 PM
SaveAs Doesn't work royersebastien Word VBA 0 03-23-2016 01:29 AM
SaveAs problem VBS saveas API behaviour is different from Menu saveas Ahmed AbuZekry Word VBA 2 03-23-2015 02:14 AM
SaveAs problem How to suppress saveas dialog from VB6 steveneashcraft Word VBA 15 05-09-2014 07:01 AM
SaveAs problem saveAs ChDir _ tinfanide Excel Programming 4 11-05-2011 01:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:43 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