Cannot associate .docx/.xlsx with Office 2013 programs

Hi

I have Windows 8.1 OS, and Office 2007 and Office 2013 as well. Until yesterday I was able to open a docx file using MS Word 13, but today when I click the same file it is not opening with Word 13 and instead Microsoft Office Professional Plus 2007 opens up and starts a 'Configuration Process' and finally opens the file in Word 2007.

When I clicked on the Word 2013 icon, I am able to open it and I can also open the same file using word 2013 but I have to go to "Open" and then select the file in the already opened Word 2013. Else if I double click the docx file it does not open in 2013 but in 2007.

  • I tried right clicking and 'open with' option, but when I do it the default option says "Word (Desktop)", and if I click more options and go to the "C>Prog Files>Microsoft Office 15>root>office15"  to open in Word 2013 and select "winword.exe", it still opens in 2007 and not 2013. But when I click the same icon "winword.exe" directly, word 2013 opens up and not 2007.
  • I also check "File association" and "default progs", but everywhere it says "Word (Desktop)", even after changing the association to Word 2013 icon in office15, I still cannot open the file in word 2013 by directly clicking on it.

Thank same goes for excel as well. May be other progs as well; haven't check for others.

Need assistance, please suggest a solution.

Thank You

When you have more than one version of Word installed, you can't use the built-in methods to correct the file associations. If there is any chance that you will be using Word 2007, you will need to create NoReReg keys in the Registry to keep the two versions from constantly fighting over which is the top dog; see http://jay-freedman.info/norereg.html.

To make Word 2013 the dominant program, you will need to reregister it manually. To do this, you must first find the complete path to the winword.exe executable. You will then need to run a command such as:

"C:\Program Files (x86)\Microsoft Office\OFFICE15\WINWORD.EXE" /r

To do this, open the Run box (you can use the Windows logo key +R or see http://youtu.be/bNEfnhSn2Ag

for instructions to locate the Run command) and type or paste in the complete file path, enclosed in quotation marks, followed by a space and the /r switch. Press Enter to run the command. Word will not start but you will probably get a message box with a progress bar.

The path shown above is the one for Windows 7; yours may be different. You can do the same thing for Excel, substituting the path for Excel.exe in the Office15 folder and using the /regserver switch.

For more on running side-by-side Word versions, see http://www.gmayor.com/Toolbars_in_word_2007.htm (note that the original purpose of this article drives the first portion of it, but if you persevere, there is valuable information farther down).

Microsoft MVP (Word) since 1999
Fairhope, Alabama USA
http://ssbarnhill.com
http://wordfaqs.ssbarnhill.com
Screen shots captured with TechSmith's Snagit

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Dear Suzanne

I was actually working very fine previously on Word 2013 along side word 2007 installed. But this problem came just a week ago.

I tried the the re-register thing "/r" but it did not work. I can still open word 13 but I need to open it but clicking the word 13 icon and not the file itself. If I try opening the file it opens in word 2007.

I am currently working on my thesis and so its of prime concern that any of the solutions do not corrupt the file or make any permanent changes in the MS Office.

Also do you think restoring my system to a previous date when I created any restore point will help, as earlier everything was fine. What settings will be affected by that?

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

In order to run 2 versions of Office on the same computer you have to have the "NoReReg" key as described by Suzanne. It is required to suppress the "configuring" process when you switch between versions.  After you have the NoReReg key added to the registry for both versions of Word, Excel and PowerPoint you can do an Office Repair to Office 2013 to set the defaults to point to 2013. 

At least that is the way it is supposed to work.

Doing Office Repair will not corrupt any of your data files, and will only fix any issues with Office.

**********

There is a known problem with December Windows updates and Office, but the reports mention different symptoms


2014 12 23- Microsoft patch mashes Office forms and macros

http://www.theregister.co.uk/2014/12/23/microsoft_patch_mashes_office_forms_and_macros/

Now comes news that MS14-082, one of December's seven fixes, can cause Office to misbehave.

Microsoft's mea culpa reports problems with ActiveX forms and broken macros when both Office 2013 and Office 2007 are present.

Thesis

Since you are working on an extremely high value (to you) and extremely time sensitive document you must take extreme steps to protect your document.

You have to be paranoid. Assume that Word will carp out on you at the worst possible time (like right before a time sensitive deadline!). Why do I say this. Because we get MANY paniced postings asking for help with lost or corrupt thesis files around Xmass and end of term in April!


True Autosave Macros for Office - File History

This file you are working on is HIGH VALUE (to you). You MUST take extra steps to protect the time and creativity you have invested in this file. You MUST make frequent backups.

 

A good general rule for backups is:

Remember 3-2-1 to have good backups

o at least 3 copies of any file,

o at least 2 different storage mediums (say on your hard drive plus at least one of the following: thumb drive, DVD or the cloud),

o at least 1 copy offsite -- in case of fire etc!  (ie the “cloud” meets this requirement, so does using a thumb drive moved to a different building, or a server in a different building)

    Steve Gibson

 

PS: yes “correct” the plural of medium is media, but I don’t speak latin! <grin>

 

You can do your backups manually or make use of automated tools.  A strategy I have used is timed backups during the editing session (5 minute). Then the final end of day save is copied to second medium. I rotate the “second” medium with an Offsite copy.  Once a week I go in and clean up the 5 minute incremental backups to keep just the end of day copy (to free up space!)

 

I have used the “autohistory” tool at codeplex. It is easy to use, but like any automated process it uses up a lot of space.

 

Unfortunately, although Office apps have been around since the the mid 1980’s, MS has not figured out that we need a good “Autosave” backup feature. In the past there was a “versions” feature in some office apps, but it only kept incremental copies of files, not full files. Win7 has a file “versions” feature, but it is tied into “System Recovery Points”. Not very useful.  The following links tell how to setup macros that run automatically and use SAVEAS to save full copies of the file with the date/time included in the file name. You have to manually delete the “extra” backup files, but you control the process rather than Windows or Office. It is a bit more work, but I find it worth it for very important files that are changing frequently.

 

Autohistory for Word 2007 / 2010, Excel 2010 (Version Control)

https://autohistory.codeplex.com/

Creates a Date&Timestamped copy of file every time you perform a normal Save. You can access any of the older versions. It creates a folder for each document affected. You have to the option of creating a single “universal” backup location.  The History is located in a NEW GROUP on the View Tab.

 

Timed Automatic backup Word documents

http://www.gmayor.com/automatically_backup.htm

Graham has created an addin that does something MS should have done 20+ years ago.

<snip>

Contrary to popular opinion, Word has no integral means of automatically saving the current document, nor of backing-up the current document. What it does have is an option to save AutoRecover information after a specific and configurable interval and an option to save a backup copy of the previously saved version of the document with the default file extension of WBK (and although there is no reason to do so, Word also allows the option to change this extension to the user’s choice). This is not a true backup in as much as it is not a copy of the current version of the document.

A function to create a true automatic backup is provided by the Save In Two Places add-in which is detailed in a separate page, There is also available from this web site a complementary add-in which provides numbered versions of a document. Again that has its own web page.

</snip>

 

Save Dated & numbered Backup versions of a document - Word

http://www.gmayor.com/save_numbered_versions.htm

 

Save Numbered Versions Add-In for Word 2007 & 2010

http://www.gmayor.com/SaveVersionsAdd-In.htm

 

Save Numbered Backup Versions of Document

http://www.word.mvps.org/FAQs/MacrosVBA/SaveIncrementedFilename.htm

 

Saving Everything Macros

http://word.tips.net/T001469_Saving_Everything.html

Summary: Need to force users to save their work? It may be as simple as implementing an AutoNew() to force every new file to have a filename, and an AutoClose() to save the current document BEFORE closing. It could, however, also have something to do with training users.

 

Controlling Names of Backup Files

http://wordribbon.tips.net/T011760_Controlling_Names_of_Backup_Files.html

 

Save the current document in two locations add-in for Word 2007 & 2010

http://www.gmayor.com/SaveInTwoPlacesAddIn.htm

Performs a normal save in one location, then does a DOS copy to the second location (ie USB)

 

Making Backups as You Work

http://www.informit.com/articles/article.aspx?p=731710&seqNum=5

 

Win8 Tip: Enable File History

http://www.winsupersite.com/article/windows8/windows-8-tip-enable-file-history-143579

 

zApps-apps Collection for 2007/2010/2013 - 7 day free trial Word, Excel, PowerPoint

http://www.greatcirclelearning.com/software/zapps-apps/zapps-apps-collection

The zAPPs-apps Collection adds functionality to Microsoft Office Word, PowerPoint and Excel to automate common work tasks and automatically save local copies of your files. Your ability to reuse content is optimized, your ability to work with images is enhanced, and copies of your files are saved locally every time you save so that you can instantly go back to a usable copy if you have a crash or overwrite content you need. The zAPPs-apps Collection streamlines and accelerates your work process.

The Collection contains 16 tools that run in Excel, PowerPoint and Word to help you:

 

Helping You Recover Your Work in Office 2010– Autorecover

http://blogs.technet.com/b/office2010/archive/2009/09/22/helping-you-recover-your-work-in-office-2010.aspx

Have you ever closed Word after making a bunch of changes, and then accidently clicked ‘No’ when asked if you want to save your changes?  Then you suddenly realized what you have done, only to find that there was no way to recover your work?  You are not alone.  In fact, so many people were in similar situations that we improved Office 2010 so you can get that document back!  We call this feature Versions and I would like to spend a little time introducing it to you.

 

Recovering More of Your Work with a Shorter AutoRecover Interval

http://www.informit.com/articles/article.aspx?p=731710

 

Automatically Saving Your Work Frequently – Word and Excel

http://www.informit.com/articles/article.aspx?p=731710&seqNum=2

 

Making Backups as You Work in Word 2007

http://www.msofficetuneup.com/2008/06/01/making-backups-as-you-work-in-word-2007/

Note: this site has been taken off line

Even if you’re using the macros earlier in the chapter to save your work frequently, you can still lose data if your hard drive crashes. So we’ve all learned from hard experience not only to save our work regularly, but also to make periodic backup copies. The macro I use most often in Word is one that does both in a single procedure! That is, the macro not only saves your work, but it also makes a backup copy on another drive, such as a removable disk, a second hard drive, or a network folder. Listing 1 shows the code.

Listing 1 A Procedure That Creates a Backup Copy of the Active Document on Another Drive

Sub MakeBackup()

 

   Dim currFi1e As String

   Dim backupFiIe As String

   const BACKUP_FOLDER = ‘G:\Backups\’

 

   With ActiveDocument

   ‘ Don ‘t bother if the document is unchanged or new

        If .Saved Or .Path = ** Then Exit Sub

 

   ‘ Mark current position in document

        .Bookmarks.Add Name = “LastPosition”

 

   ‘ Turn off screen updating

        Application. ScreenUpdating = False

 

   ‘ Save the file

        .Save

 

   ‘ Store the current file path, construct the path for the

   ‘ backup file, and then save it to the backup drive

 

        currFi1e = .FullName

        backupFi1e = BACKUP FOLDER + .Name

        .SaveAs FileName:=backupfile

   End With

 

   ‘ Close the backup copy (which is now active)

   ActiveDocument.Close

 

   ‘ Reopen the current file

   Documents.Open FileName:=currFi1e

 

   ‘ Return to the pre-backup position

   Selection.GoTo What:=wdGoToBookmark, Name:=”LastPosition”

End sub

 

The backupFile and currFile variables are strings that store the full pathnames for the active document and the backup version of the document. Use the BACKUP_FOLDER constant to specify the folder in which you want the backup stored.

The procedures first check to see if the backup operation is necessary. In other words, if the document has no unsaved changes (the Saved property returns True) or if it’s a new, unsaved document (the Path property returns “”), bail out of the procedure (by running Exit Sub).

Otherwise, a new Bookmark object is created to save the current position in the document, screen updating is turned off, and the file is saved.

We’re now ready to perform the backup. First, the currFile variable is used to store the full pathname of the document, and the pathname of the backup file is built with the fol­lowing statement:

backupFile = BACKUP_FOLDER + .Name

This is used to save the file to the specified folder. The actual backup takes place via the SaveAs method, which saves the document to the path given by backupFile. From there, the procedure closes the backup file, reopens the original file, and uses the GoTo method to return to the original position within the document.

TIP

Using a Bookmarkobject to reset the insertion point is useful because it takes you back to the exact point in the document where you were before the backup started. However, you may be interested only in returning to the last position within the document where an edit occurred. If that’s the case, use the following statement in place of the Selection.GoTo statement:
Application.GoBack
Note, however, that there’s a bug in the GoBackmethod, whereby Word doesn’t save the last edit position (technically, it’s a hidden bookmark named \PrevSel1) in some cases. Specifically, when you exit Word, if you elect to save changes in the last document that gets closed, Word doesn’t save the last edit position in that document.

     http://www.informit.com/articles/article.aspx?p=731710&seqNum=5

 

Saving in Document Format from a Macro

http://word.tips.net/T000427_Saving_in_Document_Format_from_a_Macro.html

 

Use the Cloud

http://www.labnol.org/software/google-docs-with-microsoft-office/18815/

Although using the cloud does not inherently include timed backup, it does provide a useful backup function. Saving copies to the cloud eliminates the danger of losing your physical local copies, ie losing a HD or USB Thumb drive.

 

A Real AutoSave

http://word.tips.net/T000157_A_Real_AutoSave.html

 

Saving Excel in Multiple Locations

http://excel.tips.net/T002774_Saving_in_Multiple_Locations.html

 

Excel- Saving in Two Locations

http://excel.tips.net/T003042_Saving_in_Two_Locations.html

 

Saving in Multiple Locations

If the drive letter assigned to your USB drive is always the same, you can use code like the following in the ThisWorkbook module.

Private Sub Workbook_BeforeClose(Cancel As Boolean)

    On Error Resume Next

    Application.EnableEvents = False

    ThisWorkbook.Save

    ThisWorkbook.SaveCopyAs “J:\” & ThisWorkbook.Name

    Application.EnableEvents = True

End Sub

Change the “J” to the appropriate drive letter.

If the drive letter may change but the volume label is always the same, use code like the following in the ThisWorkbook code module:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

    Dim DriveLetter As String

    Dim VolumeName As String

    On Error Resume Next

    Application.EnableEvents = False

    ThisWorkbook.Save

    VolumeName = “YourVolumeName”

    DriveLetter = GetDriveLetter(VolumeName)

    If Len(DriveLetter) > 0 Then

        ThisWorkbook.SaveCopyAs DriveLetter & “:\” & ThisWorkbook.Name

    End If

    Application.EnableEvents = True

End Sub

 

Private Function GetDriveLetter(VolumeName As String) As String

    Dim FSO As Object

    Dim DD As Object

    Set FSO = CreateObject(“Scripting.FileSystemObject”)

    For Each DD In FSO.Drives

        If DD.IsReady = True Then

            If StrComp(DD.VolumeName, VolumeName, vbTextCompare) = 0 Then

                GetDriveLetter = DD.DriveLetter

                Exit Function

            End If

        End If

    Next DD

End Function

Change VolumeName to the appropriate volume name.

In the last issue of WordTips there were a number of readers that got the idea that I was suggesting that people should use the FastSave feature. In fact, I got quite a bit of feedback on that tip, some of it quite pointed. (According to one reader, I was even “irresponsible.” Another stated that I was doing a disservice to readers.)

I am sorry if I gave the impression that I thought FastSave is a great idea. That is far from the truth; I do not. There are several other “features” of Word that I think are ill conceived or totally unnecessary, as well. It doesn’t change the fact that they are features and people can use them, if they desire. WordTips are not designed to promote one method of doing something over another, but to provide alternative ideas that people can incorporate into their Word use, if they so desire.

With that being said, let me point out specifically why you should not use the FastSave feature.

  • Other word processors may not be able to open Word documents saved with the FastSave feature enabled. For instance, WordPerfect says it can open Word documents, yet some versions of WordPerfect cannot open FastSaved Word documents.
  • Third-party software designed to work with Word documents (such as some grammar checkers, document management programs, and desktop publishing software) will not work correctly with FastSaved Word documents.
  • Find File (either in Word or in Windows) may not work correctly with FastSaved Word documents.
  • FastSave results in more complex files being saved on disk. Any time you increase complexity, you run the risk of corrupting the files easier.
  • FastSaved files take up more disk space.
  • There have been reports of macro viruses “living on” in FastSaved documents, even though you thought you had them removed.
  • The list could go on and on, but you get the idea. In short, unless you have a specific need to use FastSave (such as if you are only creating simple documents using Word 6 on a slow 286 machine), it is probably a good idea to turn it off. The FastSave feature is turned on by default in all versions of Word, even in the original Word 97. Only if you are using Word 97 SR-1 is it turned off by default.

As a side note, according to the Microsoft Knowledge Base there are several circumstances under which a FastSave is not done by Word, even if you have enabled the feature. These circumstances include the following:

  • When you save a document for the first time. (This makes sense, right?) This includes when you choose Save As to save under a new name or in a new location.
  • When your document is saved on a network server or remote volume. (Word only performs a FastSave to a local volume.)
  • When Word reaches the limit of how much information it can save using the FastSave option. In this case Word does a normal save, and then again starts using FastSave for future saves.

Nuff said? (I hate it when I’m irresponsible.)

 

Saving All Open Workbooks

http://excelribbon.tips.net/T011079_Saving_All_Open_Workbooks.html

 

http://support.microsoft.com/kb/131333   (this tip is old, I didn’t test it)

 

Version 3.5 of Autosafe enables use in environments with long paths/filenames. The standard Autosave (note the spelling) utility that ships with Excel just saves workbooks at a set interval, overwriting the file on disk. This is not very convenient if you planned to leave the master file intact and save the changed workbook using a different filename. It also does nothing to simplify recovery of unsaved/changed documents after a system crash. This Autosafe utility creates copies of open workbooks at regular intervals in a separate (user-selectable) directory. It does not overwrite the master file(s), that is up to the user to do, using normal methods. As soon as a workbook is closed the backup copy is deleted from the backup directory. If an abnormal termination of Excel occurs, the backup copies remain on disk, and Autosafe finds them the next time Excel is started and presents recovery options to the user.
Autosafe comes with an autoupdate function which checks for updates every week. Includes the following languages: English, Dansk, Deutsch, Español, Français, Indonesia, Italiano, Nederlands, Norsk, Hrvatski, Slovenščina, Korean, Русский (Russian), Lithuanian and Hungarian.

 

PowerPoint Sequential Save Add-in - date/time suffix

http://skp.mvps.org/seqsave.htm

PowerPoint 97 or later. The idea is to create a backup of your file every time you click on the Sequential Save button by adding a date/time to the end of the file name. This add-in will add a button to the Standard toolbar, every time you click on that button, it will create a backup of the last saved version on the disk and then will save the existing file. You can either create a single backup file or multiple sequential backups. The add-in does not delete any presentation nor does it change the original presentation in any manner.

 

 

Here is an article about doing various types of file and system backups in Win 8/8.1

Win 8/8.1 Total Backup System: File History + RecImg.EXE + Refresh + SlimImage - Wiki

http://answers.microsoft.com/en-us/windows/wiki/windows_8-files/windows-881-total-backup-system-what-ms-forgot-to/06f16f5e-6e82-4332-b39e-7d674d8fea28?tm=1414346084295

.
*****
.
As computer scientists we are trained to communicate with the dumbest things in the world – computers –
so you’d think we’d be able to communicate quite well with people.
Prof. Doug Fisher

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 1,823 Applies to: