Office 2016 runtime error

Hi,

RRS feed

  • Remove From My Forums
  • Question

  • Hi, 

    Since 2-3 day, everytime i close excel (Only with excel not word) i got the error runtime error 217 at 00017fbb. Tryed a sfc scan and did all the update but still got the error (did a reboot too). Anyone ever experienced that ?

    Thanks.

All replies

  • Hi Starocean,

    I suggest you can try the following settings:

    1. Open Control Panel > Programs and Features, click to select Office program, click Change > Repair. After repairing Office, check if the issue can be fixed.
    2. Create a new user account on Windows, then sign in with new account for Windows, then check if the issue can be reproduced in new user account.
    3. If there is no issue in new user account, sign in back with the original account. Then open Registry Editor. 
    4. Go to HKEY_CURRENT_USERSoftwareMicrosoftOffice, rename the 16.0 to 16.0-old. (If you are using Office 2013, rename 15.0, Office 2010 for 14.0). Refresh the keys.
    5. Restart Excel, a new 16.0 key will be created automatically. Check if the issue can be fixed.

    Any updates on your side, feel free to let us know.


    Best Regards,
    Winnie Liang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
    tnsf@microsoft.com.


    Click
    here to learn more. Visit the dedicated
    forum to share, explore and talk to experts about Microsoft Teams.

    • Proposed as answer by

      Thursday, November 15, 2018 2:21 AM

  • Hi,

    Have you tried my suggestion above? Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    Best Regards,
    Winnie Liang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
    tnsf@microsoft.com.


    Click
    here to learn more. Visit the dedicated
    forum to share, explore and talk to experts about Microsoft Teams.

  • Hi,

    I am checking the status of this issue. Do you have any update for it? Please feel free to post back if you need further help.

    If my reply is helpful to this question, please remember to mark it as answer to close the thread. Your action would be helpful to other users who encounter the same issue and read this
    thread. Thanks for your understanding. 


    Best Regards,
    Winnie Liang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
    tnsf@microsoft.com.


    Click
    here to learn more. Visit the dedicated
    forum to share, explore and talk to experts about Microsoft Teams.

Студент :)

895 / 328 / 12

Регистрация: 29.01.2011

Сообщений: 1,679

1

31.03.2011, 08:52. Показов 12447. Ответов 8


Запускаю офис,вылетает ошибка(скр 1),если нажать кнопку end,то все продолжает работать.Как исправить?
Что было сделано:
Удалил установил
Удалил-почистил реестр-установил.
Запустил в инсталляторе установку исправления ошибок.
Ничего не помогает,ваши предложения.
Может быть где то лог есть?
Извините,если не в тот раздел,перенесите.Ответ нужен, по возможности,как можно скорее.

Миниатюры

Microsoft Office ошибка visual Basic
 



0



мусор в БД

4673 / 1127 / 35

Регистрация: 17.01.2009

Сообщений: 4,481

31.03.2011, 10:08

2

Цитата
Сообщение от nanshakov
Посмотреть сообщение

Что было сделано:

Погуглить забыл.

Runtime Error 91 is one of the most common errors that one can encounter while operating a system. It usually has the message — «Object variable or with block variable not set».

Some of the reasons that lead to Runtime error 91 are missing DLL, corrupt file, faulty installation, registry errors and bugs. The runtime error 91 can also be caused if some new software programs are being installed before another program has been completely uninstalled. This brings in registry errors and also slows down the system. Apart from these, the runtime error 91 can also be caused by an attack of Malware or Trojan.

Error 91 is usually not seen when the software is installed, but it appears when one tries to use the installed software. The error 91 normally occurs when a link of the software that is being downloaded is interrupted or missing.

Though you may come across message like Runtime Error 91 — «Object variable or with block variable not set», you can fix the problem following certain easy steps.

Once you encounter error 91, the first thing you should have to do is to change «DCOMCnfg.exe» settings in the computer. The «DCOMCnfg.exe» system control the various file permissions on the computer and also help to load different programs. First of all, reload the DCOMCnfg.exe and then set the permissions in it to allow access for «Everyone».

You should also visit the site of software developer and then download the patch. You will be guided through instructions of the developer’s site for proper installation and running the patch.

However, the steps above could promise that you can 100% fix runtime error 91. If you are still in trouble with error 91 after completing the above steps, it could be noted that corruption in the registry may be the reason.

The registry is the base of the computer where all vital information and settings are stored. It is also a center that helps the computer to remember all its important details. Any wrong operating on system registry will lead to terrible computer crash. The error in the registry is the major cause of showing of the message runtime error 91. Therefore, it is better that the registry is cleaned up for removing error 91. A manual registry repair is not that easy and so it is good to have a reliable and professional registry repair software installed. The registry repair software will do the task very effectively and also in less time, and will not cause any trouble as you may do by yourself.



1



Студент :)

895 / 328 / 12

Регистрация: 29.01.2011

Сообщений: 1,679

31.03.2011, 12:43

 [ТС]

3

Я гуглил,читал справку на сайте майкрософта,но так и не понял что делать(я понял,что ему прав не хватает,или библиотек).Вбиваю в выполнить DCOMCnfg.exe,появляется окно,это то ,что нужно?

Миниатюры

Microsoft Office ошибка visual Basic
 



0



Почетный модератор

Эксперт по компьютерным сетямЭксперт Windows

28037 / 15768 / 981

Регистрация: 15.09.2009

Сообщений: 67,753

Записей в блоге: 78

31.03.2011, 12:50

4

Цитата
Сообщение от Yarosh
Посмотреть сообщение

set the permissions in it to allow access for «Everyone».

установить права для группы «все» в принять (разрешить) доступ



0



Студент :)

895 / 328 / 12

Регистрация: 29.01.2011

Сообщений: 1,679

31.03.2011, 12:52

 [ТС]

5

Перевести я сам смог.Но где это установить,для меня осталось загадкой.



0



Почетный модератор

Эксперт по компьютерным сетямЭксперт Windows

28037 / 15768 / 981

Регистрация: 15.09.2009

Сообщений: 67,753

Записей в блоге: 78

31.03.2011, 15:15

6

службы компонентов — компьютеры мой компьютер — ПКМ — свойства — безопасность.



1



Студент :)

895 / 328 / 12

Регистрация: 29.01.2011

Сообщений: 1,679

31.03.2011, 16:44

 [ТС]

7

Сделал,перезагрузился,но ничего не изменилось(см.скр.)

Миниатюры

Microsoft Office ошибка visual Basic
 

Microsoft Office ошибка visual Basic
 



0



Студент :)

895 / 328 / 12

Регистрация: 29.01.2011

Сообщений: 1,679

31.03.2011, 18:27

 [ТС]

8

Проблему решил,все ппц как сложно.Решил полазить по компу,думаю,иожет ,что и найду.Лезу в Application Data,далее в Microsoft-Word.Думая,может удалить от туда все?Удаляю и все,ошибки нет!



2



мусор в БД

4673 / 1127 / 35

Регистрация: 17.01.2009

Сообщений: 4,481

31.03.2011, 20:02

9

Цитата
Сообщение от nanshakov
Посмотреть сообщение

Лезу в Application Data,далее в Microsoft-Word.

The runtime error 91 can also be caused if some new software programs are being installed before another program has been completely uninstalled.

Это могли быть надстройки, оставшиеся, например, от деинсталлированного переводчика.



1



 

postrelll

Пользователь

Сообщений: 7
Регистрация: 28.03.2016

#1

02.09.2016 12:23:58

Добрый день, столкнулся со следующей проблемой в 2016 офисе.

Есть макрос, выполняющий роль заполнялки документов по шаблону. Выполняется макрос из excel файлика, среди шаблонов есть Word документы, соответсвенно приходится в самом макросе оперировать с этими word объектами через Word.Application. Макрос корректно работал на версии офиса 2010 и младше. Сейчас установили 2016 офис и возникла проблема — при выполнении одной из строк кода возникает ошибка

Код
Run-Time Error 4605
Данная команда недоступна

Начальная инициализация

Код
Dim WordApp As Object

Set WordApp = CreateObject("Word.Application")
With WordApp
        .Visible = False
        .WindowState = wdWindowStateNormal
        .ScreenUpdating = False
End With

Проблемная функция

Код
Private Sub WordReplacement(word_selection As String, _
                            replacement_text As String, _
                            appobject As Object)
                             
    appobject .Application.Selection.Find.ClearFormatting
    appobject .Application.Selection.Find.Replacement.ClearFormatting

    With appobject.Application.Selection.Find
        .Text = word_selection
        .Replacement.Text = replacement_text
        appobject .Application.Selection.Find.Execute Replace:=wdReplaceAll
    End With

Проблемная строка на которой светится ошибка 4605

Код
 appobject .Application.Selection.Find.Execute Replace:=wdReplaceAll
End Sub

Буду рад любой помощи

 

The_Prist

Пользователь

Сообщений: 13997
Регистрация: 15.09.2012

Профессиональная разработка приложений для MS Office

А на этой строке нет ошибки?
.WindowState = wdWindowStateNormal
точно? Зачем Вам позднее связывание, если внутри кода напихали констант ворда?
Советую ознакомиться:

Как из Excel обратиться к другому приложению

проблема в том, что Excel ничего не знает о константах Word-а, в том числе и про эту: wdReplaceAll

Изменено: The_Prist02.09.2016 12:29:09

Даже самый простой вопрос можно превратить в огромную проблему. Достаточно не уметь формулировать вопросы…

 

postrelll

Пользователь

Сообщений: 7
Регистрация: 28.03.2016

#3

02.09.2016 12:43:05

The_Prist
Да, все верно, именно поэтому приходится в начале инициализировать экземпляр объекта Word.Application
.WindowState = wdWindowStateNormal — на эту строку не ругается
Инициализация объекта Word.Application идет в самом начале макроса. Если я убираю вот эту строку из кода

Код
appobject .Application.Selection.Find.Execute Replace:=wdReplaceAll

То макрос выполняется без ошибок. Шаблон с Word документом сохраняется с нужным мне именем. Однако нужных мне замен в этом шаблоне не производится.

ПОдключенные библиотеки

<#1><#2>

 

Hugo

Пользователь

Сообщений: 23137
Регистрация: 22.12.2012

#4

02.09.2016 12:48:58

Вместо констант пишите явно значение этих констант.

Код
Const wdReplaceAll = 2
    Member of Word.WdReplace

Изменено: Hugo02.09.2016 13:00:20

 

postrelll

Пользователь

Сообщений: 7
Регистрация: 28.03.2016

Проблема решена  — поменял формат шаблонов на .docx и переместил их с системного диска в документы пользователя.

 

The_Prist

Пользователь

Сообщений: 13997
Регистрация: 15.09.2012

Профессиональная разработка приложений для MS Office

#6

02.09.2016 13:51:39

Цитата
postrelll написал: Проблема решена

не хотите Вы прислушиваться и читать…Она обязательно может всплыть в другой раз. Т.к. библиотека Word 16 может не подхватиться на более ранних.
Сказать, почему макрос выполняется без ошибок? потому что все остальные переменные Word-а, возможно, тупо как 0 воспринимаются, т.к. директива Option Explicit не объявлена. И это тоже может повлечь свои ошибки.

Даже самый простой вопрос можно превратить в огромную проблему. Достаточно не уметь формулировать вопросы…

 

postrelll

Пользователь

Сообщений: 7
Регистрация: 28.03.2016

The_Prist
Да, я понимаю значение директивы Option Explicit.
Макрос выполняется корректно и результат так же корректен.

Проблема была в «безопасном режиме» шаблона, который открывался. В моем случае макрос открывал шаблон из указанного пути. В шаблоне в цикле делал замены в нужные места документов и затем сохранял шаблон под определенным именем. Ошибка изначально была связана с тем, что при открытии шаблона в безопасном режиме его невозможно редактировать, соответственно и делать замены в нём так же нельзя. А этот безопасный режим появился только в 2016 офисе (возможно и в 2013 он так же есть), поскольку в 2010 все открывалось нормально в обычном режиме. Стоит так же сказать, что шаблоны были в .doc формате для лучшей совместимости с более старыми офисами, поскольку макросом пользуются на самых разных ПК. Из-за этого и выползала ошибка.

Плюс я изначально все шаблоны загонял в отдельную папку на диске С.  Учитывая, что макрос сейчас запускается из-под WIn 10, проблему так же создавала встроенная защита системы, поскольку она любит подтверждать через UAC все процедуры перезаписи/удаления. Поэтому и перенес папку с шаблонами в документы пользователя.

Изменено: postrelll02.09.2016 17:05:03

 

Сергей Редькин

Пользователь

Сообщений: 1
Регистрация: 11.07.2021

#8

19.01.2022 08:58:23

У меня была похожая проблема со вставкой неформатированных значений из ячеек в размеченные закладками места в Word. Ошибки периодически вылазили на этой строке:

Код
.Application.Selection.PasteAndFormat (wdFormatPlainText)

Перенос файла шаблона в папку шаблонов по умолчанию не помог. Насколько понимаю проблемы возникают при вызове функций Word из VBA, запущенном в Excel, но до конца в причинах я так и не разобрался. Заменил Copy/Paste на вставку значения текстовой переменной. Самое интересное, что один Selection.Copy / Selection.PasteAndFormat (wdFormatPlainText) в самом конце макроса работает корректно, но как только вставляю в макрос несколько — вылазят ошибки.

Код
Sub CreateLetter()
Dim wdApp As Word.Application
Dim wdDoc As Word.Document
Dim SaveAsName As String

Set wdApp = CreateObject("Word.Application")
wdApp.Visible = True

Set wdDoc = wdApp.Documents.Add(Template:="C:____.dotx", NewTemplate:=False, DocumentType:=0)

With wdDoc
       
    Text = Cells(6, 2).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Должность"
    .Application.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
    .Application.Selection.InsertAfter (Text)
       
    Text = Cells(6, 1).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Организация"
    .Application.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
    .Application.Selection.InsertAfter (Text)

    Text = Cells(6, 3).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Кому"
    .Application.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
    .Application.Selection.InsertAfter (Text)
    
    Text = Cells(6, 4).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Обращение"
    .Application.Selection.InsertAfter (Text)
           
    Text = Cells(2, 11).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Должность_подписант"
    .Application.Selection.InsertAfter (Text)
    
    Text = Cells(2, 10).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Подписант"
    .Application.Selection.InsertAfter (Text)
    
    Text = Cells(1, 10).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Исполнитель"
    .Application.Selection.InsertAfter (Text)
    
    Text = Cells(1, 11).Text
    .Application.Selection.Goto wdGoToBookmark, , , "Телефон"
    .Application.Selection.InsertAfter (Text)
    
    ActiveSheet.PivotTables("Заезжающие").PivotSelect _
        "'[#Inbox люди].[Фамилия Имя Отчество].[Фамилия Имя Отчество]'[All]", _
        xlLabelOnly + xlFirstRow, True
    Selection.Copy
    .Application.Selection.Goto wdGoToBookmark, , , "Список"
    .Application.Selection.PasteAndFormat (wdFormatPlainText)
    
    .SaveAs2 Filename:=("D:_______ & Format(Now, "yyyy-mm-dd hh-mm-ss") & ".docx"), _
    FileFormat:=wdFormatXMLDocument, AddtoRecentFiles:=False
    
    .Close
End With

wdApp.Quit

End Sub

Изменено: Сергей Редькин19.01.2022 10:39:43

I have been scratching my head on this one for a while.

I’m more used to incompatibilities on 2010 with files that have been opened on 2016, but in this case, I have a Macro that works well on Office 2010 but generates a Runtime Error on Excel 2016 (which is a shame since we’re supposed to migrate to Win 10 soon)

So I’m trying to figure out what the problem is.

Here is the code:

Sub prd_cons()

Dim rng As Range
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Application.DisplayAlerts = False

envoyeur = "XXX - Reporting Operationnel <XxX@mail.com>"
Attachments = "C:TEMP" & "Productivité " & Range("NOM_CONS_PRD") & ".pdf"
Corps = "Bonjour, <br><br> "
Corps = Corps & "Vous trouverez ci-joint votre productivité "
Corps = Corps & "<br><br>Cordialement,<br>Le Support Opérationnel"

Set rng = Nothing
Set rng = Range("PRD_CONS")
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)

rng.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Attachments, Quality:=xlQualityStandard, _
IncludeDocProperties:=False, IgnorePrintAreas:=False, OpenAfterPublish:=False

With OutMail
.To = Range("B1").Value
.Subject = "Productivité " & Range("NOM_CONS_PRD")
.HTMLBody = Corps
.Attachments.Add Attachments
.Display '.send pour envoyer directement le mail"
 End With

Kill Attachments

 Set OutMail = Nothing
 Set OutApp = Nothing
 Application.DisplayAlerts = True


End Sub


Sub prd()


Dim rng As Range
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Application.DisplayAlerts = False

If ActiveSheet.Name = "Conseillers_Mois" Then periode = " de " & Format(Range("B4").Value, "mmmm") & " " & Range("B5").Value: periode2 = periode
If ActiveSheet.Name = "Conseillers_Jour" Then periode = " du " & Range("B4").Value: periode2 = Year(Range("B4").Value) & Format(Month(Range("B4").Value), "00") & Format(Day(Range("B4").Value), "00")
If ActiveSheet.Name = "Conseillers_Semestre" Then periode = Range("B4").Value


envoyeur = "XXX <XxX@mail.com>"
Attachments = "C:TEMP" & "Productivité " & periode2 & ".pdf"
Corps = "Bonjour, <br><br> "
Corps = Corps & "Vous trouverez ci-joint la productivité équipe " & periode
Corps = Corps & "<br><br>Cordialement,<br>Le Support Opérationnel"

Set rng = Nothing
Set rng = Range(Cells(4, 2), Cells(74, 18 + Range("N1").Value * 5))
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)

Dim plage As Range
Set plage = Range(Cells(2, 18), Cells(2, 18 + Range("N1").Value * 5))

For Each c In plage
If Len(c) > 0 Then txt = txt & c.Value & ";"
Next

For Each c In Range("CC")
If Len(c) > 0 Then txtcc = txtcc & c.Value & ";"
Next


rng.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Attachments, Quality:=xlQualityStandard, _
IncludeDocProperties:=False, IgnorePrintAreas:=False, OpenAfterPublish:=False

With OutMail
.To = txt
.CC = txtcc
.BCC = ""
.Subject = "Subject"
.HTMLBody = Corps
.Attachments.Add Attachments
.Display '.send to send e-mail directly"
 End With

Kill Attachments

 Set OutMail = Nothing
 Set OutApp = Nothing
 Application.DisplayAlerts = True

 End Sub


Function RangetoHTML(rng As Range)

Dim fso As Object
 Dim ts As Object
 Dim TempFile As String

TempFile = "C:TEMPTemp.htm" 'create empty htm file

'paste data in the empty htm file

With ActiveWorkbook.PublishObjects.Add(SourceType:=xlSourceRange, Filename:=TempFile, Sheet:="Conseillers_Jour", Source:=rng.Address, HtmlType:=xlHtmlStatic)
.Publish (True)
End With

'rangetohtml = temp data

Set fso = CreateObject("Scripting.FileSystemObject")
Set ts = fso.GetFile(TempFile).OpenAsTextStream(1, -2)
 RangetoHTML = ts.ReadAll
 ts.Close
 RangetoHTML = Replace(RangetoHTML, "align=center x:publishsource=", _
"align=left x:publishsource=")

Kill TempFile 'delete temp file

Set ts = Nothing
 Set fso = Nothing

End Function

Sub test()
For Each element In Range("GRAPH1")
Debug.Print element
Next
End Sub


Sub prd2()


Dim rng As Range
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Application.DisplayAlerts = False

If ActiveSheet.Name = "Conseillers_Mois" Then periode = " de " & Format(Range("B4").Value, "mmmm") & " " & Range("B5").Value: periode2 = periode
If ActiveSheet.Name = "Conseillers_Jour" Then periode = " du " & Range("B4").Value: periode2 = Year(Range("B4").Value) & Format(Month(Range("B4").Value), "00") & Format(Day(Range("B4").Value), "00")
If ActiveSheet.Name = "Conseillers_Semestre" Then periode = Range("B4").Value


'envoyeur = "<YyY@mail.com>"
'envoyeur = "<ZzZ@mail.com>"
envoyeur = "AaA@mail.com"
Attachments = "C:TEMP" & "Productivité " & periode2 & ".pdf"
Corps = "Bonjour, <br><br> "
Corps = Corps & "MESSAGE " & periode
Corps = Corps & "<br><br>Concatenated,<br>message"

Set rng = Nothing
Set rng = Range(Cells(4, 2), Cells(74, 18 + Range("N1").Value * 5))
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)

Dim plage As Range
Set plage = Range(Cells(2, 18), Cells(2, 18 + Range("N1").Value * 5))

For Each c In plage
If Len(c) > 0 Then txt = txt & c.Value & ";"
Next

txtcc = ""
For Each c In Range("CC")
If Len(c) > 0 Then txtcc = txtcc & c.Value & ";"
Next
txtcc = txtcc & "YyY@mail.com" & ";"

rng.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Attachments, Quality:=xlQualityStandard, _
IncludeDocProperties:=False, IgnorePrintAreas:=False, OpenAfterPublish:=False

With OutMail
.To = txt
.CC = txtcc
.BCC = ""
.Subject = "xxx"
.HTMLBody = Corps
.Attachments.Add Attachments
.Display
 End With

Kill Attachments

 Set OutMail = Nothing
 Set OutApp = Nothing
 Application.DisplayAlerts = True

 End Sub

When I run this on office 2010, I’m good but on Office I get the dreaded Runtime Error 1004, and while debugging, this is what is highlighted

rng.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Attachments, Quality:=xlQualityStandard, _
IncludeDocProperties:=False, IgnorePrintAreas:=False, OpenAfterPublish:=False

Any idea what would make the code incompatible wth Office 2016?

На чтение 7 мин. Просмотров 3.8k. Опубликовано 14.08.2019

WINWORD.EXE – это процесс MS Word, указанный в диспетчере задач. Другое программное обеспечение Microsoft, особенно приложения MS Office, также использует процесс WINWORD.EXE.

Например, WINWORD.EXE будет работать с программным обеспечением Outlook, если вы настроили Word в качестве редактора электронной почты Outlook по умолчанию.

Ошибка приложения Winword.exe может иногда препятствовать запуску Word, и, говоря об этой проблеме, вот некоторые похожие проблемы, о которых сообщили пользователи:

  • Ошибка приложения Winword.exe office 2016, 2013, 2010, 2007 . Эта проблема может касаться любой версии Office. Независимо от используемой версии, мы рекомендуем вам попробовать все решения из этой версии. статья.
  • Ошибка приложения Winword.exe: приложение не удалось запустить правильно . Иногда эта проблема может быть вызвана антивирусом. Чтобы это исправить, временно отключите антивирус и проверьте, помогает ли это.
  • Ошибка приложения Winword.exe Windows 10, 8, 7 – . Эта проблема может возникать в любой версии Windows, и вы можете применить большинство наших решений к любой версии Windows.
  • Winword.exe crash wwlib.dll . Иногда определенные DLL-файлы могут вызывать эту проблему. Чтобы решить эту проблему, переустановите или восстановите установку Office.
  • Winword exe runtime error . Эта ошибка может возникать из-за отсутствия обновлений, и если вы ее встретите, обязательно обновите свой компьютер до последней версии.

Содержание

  1. Решение 1. Запустите антивирусное сканирование
  2. Решение 2 – Сканирование реестра
  3. Решение 3 – Запустите сканирование средства проверки системных файлов
  4. Решение 4. Проверьте наличие обновлений Windows
  5. Решение 5 – Ремонт программного обеспечения MS Office
  6. Решение 6 – Переустановите программное обеспечение, которое требует исправления
  7. Решение 7 – Отмена системных изменений с восстановлением системы

Решение 1. Запустите антивирусное сканирование

Иногда ошибка приложения winword.exe может возникать, если в вашей системе есть вредоносное ПО.

Тем не менее, Windows 10 поставляется с Защитником Windows, который работает как встроенный антивирус, поэтому вы сможете легко обнаружить любое вредоносное ПО.

Однако, если вы хотите максимальной безопасности, которая не будет мешать вашей системе, возможно, вам следует рассмотреть возможность использования стороннего решения, такого как Bitdefender .

Этот инструмент обеспечивает отличную защиту и не снижает производительность ПК, поэтому обязательно попробуйте его.

Решение 2 – Сканирование реестра

В некоторых случаях может появиться ошибка приложения winword.exe , поскольку некоторые записи в вашем реестре повреждены. Если это происходит, необходимо найти и удалить эти записи.

Выполнение этого вручную может быть довольно утомительным занятием, но вы можете очистить реестр с помощью сторонних инструментов. Одним из инструментов, который может помочь вам в этой проблеме, является CCleaner, и вы можете использовать его, выполнив следующие действия:

  1. Нажмите Загрузить на этой странице веб-сайта, чтобы сохранить установщик CCleaner в Windows. Запустите программу установки, чтобы добавить программное обеспечение в Windows, а затем откройте программное обеспечение CCleaner.
  2. Нажмите Реестр в левой части окна, чтобы открыть программу очистки реестра.
  3. Установите все флажки очистителя реестра для более тщательного сканирования.
  4. Нажмите кнопку Сканировать на наличие проблем , чтобы запустить сканирование реестра.
  5. Выберите все проблемы реестра, перечисленные в окне CCleaner.
  6. Нажмите кнопку Исправить выбранные проблемы , чтобы исправить реестр.

Решение 3 – Запустите сканирование средства проверки системных файлов

Другой причиной ошибки приложения winword.exe может быть повреждение файла. Если ваша установка или системные файлы повреждены, вы можете встретить это сообщение об ошибке.

Однако вы можете решить проблему, просто выполнив SFC-сканирование. Для этого выполните следующие действия:

  1. Откройте меню Win + X с помощью сочетания клавиш Ключ Windows + X . Теперь выберите Командная строка (Admin) или PowerShell (Admin) из списка.
  2. Когда откроется Командная строка , выполните команду sfc/scannow .
  3. Сканирование SFC теперь будет сканировать вашу систему. Это может занять около 10-15 минут, поэтому не мешайте и не отменяйте его.

Если сканирование SFC не устранило проблему, вы всегда можете использовать сканирование DISM. Для этого просто выполните следующие действия:

  1. Запустите Командную строку от имени администратора.
  2. Запустите команду DISM/Online/Cleanup-Image/RestoreHealth .
  3. Сканирование DISM начнется. Имейте в виду, что этот процесс может занять около 20 минут и более, поэтому не вмешивайтесь в него.

После завершения сканирования DISM проверьте, сохраняется ли проблема. Если вы хотите, вы можете повторить сканирование SFC на всякий случай, и проблема должна быть решена.

Узнайте все, что нужно знать о программе проверки системных файлов, прямо здесь!

Решение 4. Проверьте наличие обновлений Windows

Иногда отсутствие системных обновлений может привести к появлению ошибки приложения winword.exe . Чтобы устранить эту проблему, рекомендуется постоянно обновлять систему. По умолчанию Windows 10 загружает отсутствующие обновления в фоновом режиме, но иногда вы можете пропустить одно или два обновления.

Однако вы всегда можете проверить наличие обновлений вручную, выполнив следующие действия:

  1. Откройте Настройки приложения . Вы можете сделать это быстро с помощью сочетания клавиш Windows Key + I .
  2. Когда откроется Приложение настроек , перейдите в раздел Обновление и безопасность .
  3. Теперь нажмите кнопку Проверить обновления .

Если доступны какие-либо обновления, они будут загружены в фоновом режиме и установлены, как только вы перезагрузите компьютер. Как только все обновится, проверьте, решена ли проблема.

Решение 5 – Ремонт программного обеспечения MS Office

Более свежие комплекты MS Office включают диагностические инструменты, с помощью которых вы можете исправить их приложения. Средство диагностики может восстанавливать программное обеспечение Office, которое работает неправильно, поэтому оно также может устранить ошибку EXE.

Вы можете открыть этот инструмент для ремонта следующим образом.

  1. Откройте Панель управления и перейдите в раздел Программы и компоненты .
  2. Затем вы можете щелкнуть правой кнопкой мыши определенное приложение Microsoft в списке и выбрать Изменить , чтобы открыть окно, показанное непосредственно ниже. В качестве альтернативы вы можете выбрать пакет Microsoft Office.
  3. Теперь выберите Онлайн-ремонт , чтобы исправить выбранное программное обеспечение. Это более вероятно, чтобы исправить WINWORD.EXE, как это переустанавливает программное обеспечение.
  4. Однако вы также можете выбрать Быстрое восстановление , чтобы исправить поврежденные файлы.

Решение 6 – Переустановите программное обеспечение, которое требует исправления

Если winword.exe application application продолжает появляться на вашем компьютере, возможно, проблема в поврежденной установке. В этом случае рекомендуется найти и переустановить приложение, которое создает эту проблему.

Существует несколько способов удаления приложения, но наиболее эффективным является использование программного обеспечения для удаления.

Используя программу удаления, вы можете удалить любое приложение с вашего компьютера вместе с его файлами и записями реестра.

Сделав это, вы полностью удалите приложение с ПК и убедитесь, что проблема не появится снова. Если вы ищете хорошее программное обеспечение для удаления, мы должны порекомендовать IOBit Uninstaller .

После удаления приложения с помощью этого инструмента и его повторной установки проблема должна быть полностью решена.

Решение 7 – Отмена системных изменений с восстановлением системы

В некоторых случаях единственным способом решения этой проблемы является восстановление системы. Если вы не знакомы, функция «Восстановление системы» может отменить все последние изменения на вашем ПК и исправить такие проблемы, как ошибка приложения winword.exe .

Нужна дополнительная информация о восстановлении системы? Прочтите это руководство, чтобы узнать больше.

Чтобы выполнить восстановление системы, вам необходимо сделать следующее:

  1. Нажмите Windows Key + S и введите восстановление системы . Выберите Создать точку восстановления .
  2. Появится новое окно. Нажмите кнопку Восстановление системы .
  3. Когда откроется окно Восстановление системы , нажмите Далее .
  4. Установите флажок Показать больше точек восстановления , если он доступен. Теперь вам просто нужно выбрать нужную точку восстановления и нажать Далее .
  5. Следуйте инструкциям на экране, чтобы завершить процесс.

После того, как вы восстановите свой компьютер, убедитесь, что проблема все еще существует.

Таким образом, существует множество возможных исправлений для ошибки приложения WINWORD.EXE. Помимо исправления ошибки EXE, некоторые из приведенных выше исправлений могут также предотвратить ее повторение.

По-прежнему возникают проблемы? Проверьте эту статью для получения дополнительной информации о том, как восстановить MS Word.

Примечание редактора . Этот пост был первоначально опубликован в июле 2017 года и с тех пор был полностью переработан и обновлен для обеспечения свежести, точности и полноты.

Mismatch Error

Type Mismatch Error VBA возникает при попытке назначить значение между двумя различными типами переменных.

Ошибка отображается как:
run-time error 13 – Type mismatch

VBA Type Mismatch Error 13

Например, если вы пытаетесь поместить текст в целочисленную переменную Long или пытаетесь поместить число в переменную Date.

Давайте посмотрим на конкретный пример. Представьте, что у нас есть переменная с именем Total, которая является длинным целым числом Long.

Если мы попытаемся поместить текст в переменную, мы получим Type Mismatch Error VBA (т.е. VBA Error 13).

Давайте посмотрим на другой пример. На этот раз у нас есть переменная ReportDate типа Date.

Если мы попытаемся поместить в эту переменную не дату, мы получим Type Mismatch Error VBA.

В целом, VBA часто прощает, когда вы назначаете неправильный тип значения переменной, например:

Тем не менее, есть некоторые преобразования, которые VBA не может сделать:

Простой способ объяснить Type Mismatch Error VBA состоит в том, что элементы по обе стороны от равных оценивают другой тип.

При возникновении Type Mismatch Error это часто не так просто, как в этих примерах. В этих более сложных случаях мы можем использовать средства отладки, чтобы помочь нам устранить ошибку.

Использование отладчика

В VBA есть несколько очень мощных инструментов для поиска ошибок. Инструменты отладки позволяют приостановить выполнение кода и проверить значения в текущих переменных.

Вы можете использовать следующие шаги, чтобы помочь вам устранить любую Type Mismatch Error VBA.

  1. Запустите код, чтобы появилась ошибка.
  2. Нажмите Debug в диалоговом окне ошибки. Это выделит строку с ошибкой.
  3. Выберите View-> Watch из меню, если окно просмотра не видно.
  4. Выделите переменную слева от equals и перетащите ее в окно Watch.
  5. Выделите все справа от равных и перетащите его в окно Watch.
  6. Проверьте значения и типы каждого.
  7. Вы можете сузить ошибку, изучив отдельные части правой стороны.

Следующее видео показывает, как это сделать.

На скриншоте ниже вы можете увидеть типы в окне просмотра.

VBA Type Mismatch Watch

Используя окно просмотра, вы можете проверить различные части строки кода с ошибкой. Затем вы можете легко увидеть, что это за типы переменных.

В следующих разделах показаны различные способы возникновения Type Mismatch Error VBA.

Присвоение строки числу

Как мы уже видели, попытка поместить текст в числовую переменную может привести к Type Mismatch Error VBA.

Ниже приведены некоторые примеры, которые могут вызвать ошибку:

Недействительная дата

VBA очень гибок в назначении даты переменной даты. Если вы поставите месяц в неправильном порядке или пропустите день, VBA все равно сделает все возможное, чтобы удовлетворить вас.

В следующих примерах кода показаны все допустимые способы назначения даты, за которыми следуют случаи, которые могут привести к Type Mismatch Error VBA.

Ошибка ячейки

Тонкая причина Type Mismatch Error VBA — это когда вы читаете из ячейки с ошибкой, например:

VBA Runtime Error

Если вы попытаетесь прочитать из этой ячейки, вы получите Type Mismatch Error.

Чтобы устранить эту ошибку, вы можете проверить ячейку с помощью IsError следующим образом.

Однако проверка всех ячеек на наличие ошибок невозможна и сделает ваш код громоздким. Лучший способ — сначала проверить лист на наличие ошибок, а если ошибки найдены, сообщить об этом пользователю.

Вы можете использовать следующую функцию, чтобы сделать это:

Ниже приведен пример использования этого кода.

Неверные данные ячейки

Как мы видели, размещение неверного типа значения в переменной вызывает Type Mismatch Error VBA. Очень распространенная причина — это когда значение в ячейке имеет неправильный тип.

Пользователь может поместить текст, такой как «Нет», в числовое поле, не осознавая, что это приведет к Type Mismatch Error в коде.

VBA Error 13

Если мы прочитаем эти данные в числовую переменную, то получим
Type Mismatch Error VBA.

Вы можете использовать следующую функцию, чтобы проверить наличие нечисловых ячеек, прежде чем использовать данные.

Вы можете использовать это так:

Имя модуля

Если вы используете имя модуля в своем коде, это может привести к
Type Mismatch Error VBA. Однако в этом случае причина может быть не очевидной.

Например, допустим, у вас есть модуль с именем «Module1». Выполнение следующего кода приведет к о
Type Mismatch Error VBA.

VBA Type Mismatch Module Name

Различные типы объектов

До сих пор мы рассматривали в основном переменные. Мы обычно называем переменные основными типами данных.

Они используются для хранения одного значения в памяти.

В VBA у нас также есть объекты, которые являются более сложными. Примерами являются объекты Workbook, Worksheet, Range и Chart.

Если мы назначаем один из этих типов, мы должны убедиться, что назначаемый элемент является объектом того же типа. Например:

Коллекция Sheets

В VBA объект рабочей книги имеет две коллекции — Sheets и Worksheets. Есть очень тонкая разница.

  1. Worksheets — сборник рабочих листов в Workbook
  2. Sheets — сборник рабочих листов и диаграммных листов в Workbook

Лист диаграммы создается, когда вы перемещаете диаграмму на собственный лист, щелкая правой кнопкой мыши на диаграмме и выбирая «Переместить».

Если вы читаете коллекцию Sheets с помощью переменной Worksheet, она будет работать нормально, если у вас нет рабочей таблицы.

Если у вас есть лист диаграммы, вы получите
Type Mismatch Error VBA.

В следующем коде Type Mismatch Error появится в строке «Next sh», если рабочая книга содержит лист с диаграммой.

Массивы и диапазоны

Вы можете назначить диапазон массиву и наоборот. На самом деле это очень быстрый способ чтения данных.

Проблема возникает, если ваш диапазон имеет только одну ячейку. В этом случае VBA не преобразует arr в массив.

Если вы попытаетесь использовать его как массив, вы получите
Type Mismatch Error .

В этом сценарии вы можете использовать функцию IsArray, чтобы проверить, является ли arr массивом.

Заключение

На этом мы завершаем статью об Type Mismatch Error VBA. Если у вас есть ошибка несоответствия, которая не раскрыта, пожалуйста, дайте мне знать в комментариях.

7 Ways To Fix Excel Runtime Error 13 Type Mismatch

Summary:

This post is written with the main prospective of providing you all with ample amount of detail regarding Excel runtime error 13. So go through this complete guide to know how to fix runtime error 13 type mismatch.

In our earlier blogs, we have described the commonly found Excel file runtime error 1004, 32809 and 57121. Today in this article we are describing another Excel file runtime error 13.

What Is Runtime Error 13 Type Mismatch?

Run-time error ‘13’: Type Mismatch usually occurs meanwhile the code is executed in Excel. As a result of this, you may get terminated every time from all the ongoing activities on your Excel application.

This run time error 13 also put an adverse effect on XLS/XLSX files. So before this Excel Type Mismatch error damages your Excel files, fix it out immediately with the given fixes.

Apart from that, there are many reasons behind getting the Excel file runtime error 13 when the Excel file gets corrupted this starts showing runtime error.

To recover lost Excel data, we recommend this tool:

This software will prevent Excel workbook data such as BI data, financial reports & other analytical information from corruption and data loss. With this software you can rebuild corrupt Excel files and restore every single visual representation & dataset to its original, intact state in 3 easy steps:

  1. Download Excel File Repair Tool rated Excellent by Softpedia, Softonic & CNET.
  2. Select the corrupt Excel file (XLS, XLSX) & click Repair to initiate the repair process.
  3. Preview the repaired files and click Save File to save the files at desired location.

Error Detail:

Error code: Run-time error ‘13’

Declaration: Excel Type Mismatch error

Here is the screenshot of this error:

Excel Runtime Error 13 Type Mismatch

Why Am I Getting Excel Runtime Error 13 Type Mismatch?

Following are some reasons for run time error 13 type mismatch:

  • When multiple methods or files require to starts a program that uses Visual Basic (VB) environment
  • Runtime error 13 often occurs when mismatches occur within the software applications which you require to use.
  • Due to virus and malware infection as this corrupts the Windows system files or Excel-related files.
  • When you tap on the function or macro present on the menu which is created by another Macro then also you will receive the same run time error 13.
  • The runtime error commonly occurs due to the conflict between the software and the operating system.
  • Due to the corrupt or incomplete installation of Microsoft Excel software.
  • The Run-time Error 13 appears when the users try to run VBA code that includes data types that are not matched correctly. Thus it starts displaying Runtimeerror 13 type mismatch.
  • Due to conflict with other programs while opening the VBA Excel file.

Well, these are some of the common reasons for getting the Excel file runtime error 13.

How To Fix Excel Runtime Error 13 Type Mismatch?

Learn how to Fix Excel Runtime Error 13 Type Mismatch.

1: Using Open and Repair Utility

There is a ‘File Recovery’ mode within Excel which gets activated automatically when any corruption issue hits your worksheet or workbook.

But in some cases, Excel won’t offer this ‘File Recovery’ mode and at that time you need to use Excel inbuilt tool ‘Open and Repair’.

Using this inbuilt utility tool you can recover corrupted/damaged Excel files. Try the following steps to fix Visual Basic runtime error 13 type mismatch in Excel.

Here follow the steps to do so:

  • In the File menu> click “Open”
  • And select corrupt Excel file > from the drop-down list of open tab > select “Open and Repair”

Open-and-Repair

  • Lastly, click on the “Repair” button.

excel open and repair

However, it is found that the inbuilt repair utility fails to repair the severely damaged Excel file.

2. Uninstall The Program

It is found some application and software causes the runtime error.

So, to fix the Excel file error, simply uninstall the problematic apps and programs.

  • First, go to the Task Manager and stop the running programs.
  • Then in the start menu > select Control Panel.
  • In the Control Panel > choose Add or Remove Program.

Reinstall The Microsoft Office Application

  • Here, you will get the list of installed programs on your PC.

ms office repair from control panel

  • Then from the list select Microsoft Work.
  • Click on uninstall to remove it from the PC.

Uninstall The Program

Hope doing this will fix the Excel file Runtime error 13, but if not then follow the third solution.

3. Scan For Virus/Malware

Virus intrusion is quite a big problem for all Windows users, as it causes several issues for PC and Excel files.

This can be the great reason behind this Runtime 13 error. As viruses damage the core program file of MS Office which is important for the execution of Excel application.

This makes the file unreadable and starts generating the following error message: Visual Basic runtime error 13 type mismatch in Excel

To avoid this error, you need to remove all virus infections from your system using the reliable anti-virus removal tool.

Well, it is found that if your Windows operating system in having viruses and malware then this might corrupt Excel file and as a result, you start facing the runtime file error 13.

So, it is recommended to scan your system with the best antivirus program and make your system malware-free. Ultimately this will also fix runtime error 13.

4. Recover Missing Macros

Well, as it is found that users are getting the runtime error 13 due to the missing macros, So try to recover the missing Macros.

Here follow the steps to do so:

  • Open the new Excel file > and set the calculation mode to Manual
  • Now from the Tools menu select Macro > select Security > High option.
  • If you are using Excel 2007, then click the Office button > Excel Options > Trust Center in the left panel
  • And click on Trust Center Settings button > Macro Settings > Disable All Macros without Notification in the Macro Settings section > click OK twice.

enable excel macros 1

  • Now, open the corrupted workbook. If Excel opens the workbook a message appears that the macros are disabled.
  • But if in case Excel shut down, then this method is not workable.
  • Next press [Alt] + [F11] for opening the Visual Basic Editor (VBE).
  • Make use of the Project Explorer (press [Ctrl]+R) > right-click a module > Export File.

Copy Macros in the Personal Macro Workbook 3

  • Type name and folder for the module > and repeat this step as many times as required to export the entire module.
  • Finally, close the VBE and exit.

Now open the new blank workbook (or the recently constructed workbook that contains recovered data from the corrupted workbook) and import the modules.

5. Run The ‘Regedit’ Command In CMD

This Excel error 13 can also be fixed by running the ‘Regedit’ command in the command prompt.

  • In the search menu of your system’s start menu type run command.
  • Now in the opened run dialog box type “regedit” command. After that hit the OK
  • This will open the registry editor. On its right side there is a ‘LoadApplnit_DLLs value.’ option, just make double-tap to it.
  • Change the value from 1 to ‘0‘and then press the OK.

Run The ‘Regedit’ Command In CMD

  • Now take exit from this opened registry editor.
  • After completing all this, restart your PC.

Making the above changes will definitely resolve the Runtime Error 13 Type Mismatch.

6: Create New Disk Partition And Reinstall Windows

If even after trying all the above-given fixes Excel type mismatched error still persists. In that case, the last option left here is to create the new partition and reinstall Windows.

  • In your PC insert windows DVD/CD and after that begin the installation procedure.
  • For installation, choose the language preference.
  • Tap to the option” I accept” and then hit the NEXT
  • Select the custom advance option and then choose the Disk O partition 1

Create New Disk Partition And Reinstall Windows

  • Now hit the delete> OK button.
  • The same thing you have to repeat after selecting the Disk O partition 2.
  • Now hit the delete> OK button to delete this too.
  • After completing the deletion procedure, tap to create a new partition.
  • Assign the disk size and tap to the Apply.
  • Now choose the Disk 0 partition 2 and then hit the Formatting.
  • After complete formatting, hit the NEXT button to continue.

Note: before attempting this procedure don’t forget to keep a complete backup of all your data.

However, if you are still facing the Excel Runtime file error 13 then make use of the third party automatic repair tool.

7: Use MS Excel Repair Tool

It is recommended to make use of the MS Excel Repair Tool. This is the best tool to repair all sort of issues, corruption, errors in Excel workbooks. This tool allows to easily restore all corrupt excel file including the charts, worksheet properties cell comments, and other important data.

This is a unique tool to repair multiple excel files at one repair cycle and recovers the entire data in a preferred location. It is easy to use and compatible with both Windows as well as Mac operating systems.

Steps to Utilize MS Excel Repair Tool:

g1

g2

g3

g4

g5

g6

g7

Final Verdict:

After reading the complete post you must have got enough idea on Visual Basic runtime error 13 type mismatch in Excel. Following the listed given fixes you are able to fix the Excel runtime file error 13.

I tried my best to provide ample information about the runtime error and possible workarounds that will help you to fix the Excel file error.

So, just make use of the solutions given and check whether the Excel error is fixed or not.

In case you have any additional workarounds that proved successful or questions concerning the ones presented, do tell us in the comments.

Steps to Resolve Excel Runtime Error 13

Encountering error with Excel application that you use every day, whether frequently or sometimes; at home or in office, is undoubtedly an unwanted situation. The trouble doubles when the error that you have encountered, is unknown or for the first time. Both Excel XLS and XLSX files become corrupt or damaged at times and may return different errors including runtime errors.

A runtime error that commonly affects MS Excel or its XLS/XLSX files other than Excel runtime 1004, 32809, 57121 error, etc. is Excel Runtime Error 13. Not knowing what to do when there is a time constraint to resolve the error, it is evident for you to get perplexed. This blog is an intent to help you resolve the terrible situation you are experiencing due to runtime error 13. Know all about the error: what is it, its causes and the fixes.

Excel Runtime Error 13

The VBA runtime file error 13 is a type of mismatch error in Excel. Usually, it arises when one or more files or processes are required to launch a program that employs the Visual Basic (VB) environment by default. This means the error occurs when Excel users try to run VBA code containing data types that are not matched in the correct manner. Consequently, ‘runtime error 13: type mismatch Excel’ appears in Excel.

Causes for Excel Runtime Error 13

The Excel runtime error 13 causes are as follows:

  1. Damaged or incomplete installation of MS Excel application
  2. The conflict between the Excel application and Operating System
  3. When a missing menu function or a macro is clicked on by the user from Excel file
  4. Virus/malware attack or malicious code infection damaging Excel files
  5. Conflict with other programs while VBA Excel file is open

Fixes

The methods to fix Excel runtime error 13 are as follows:

Fix 1: Make use of the ‘Open and Repair’ utility

MS Excel automatically provides ‘File Recovery’ mode when it discovers a damaged workbook or worksheet. It does this to repair the damaged Excel files. But there are times when Excel does not provide the ‘File Recovery’ mode automatically. This is the time when you can employ ‘Open and Repair’, an inbuilt utility to repair Excel files. The steps to use this utility are:

  1. Open Excel application
  2. Go to File->Open
  3. Select the ‘Excel’ file
  4. Click the ‘Open’ dropdown
  5. ­Click ‘Open and Repair..’ button
  1. Click ‘Repair’ button to recover as much work as possible Or Click ‘Extract Data’ tab to extract values and formulae
Fix 2: Uninstall the ‘error causing program’

It is found that some application and software cause the runtime error. Uninstall those application or software to fix the Excel file runtime error. To do so, the steps are:

  1. Go to ‘Task Manager’ and stop the error causing programs one by one
  2. Click ‘Start’ menu
  3. Click ‘Control Panel’ button
  4. Select ‘Add or Remove Program’ or “uninstall a program” option in Control Panel
  1. All the installed programs on the PC is enlisted
  2. Select MS Office and click ‘Uninstall’ to remove it from the PC
Limitations

Using Microsoft’s Open & Repair Utility and uninstalling error causing software-programs may or may not resolve Excel Runtime Error 13. In that case a sure-shot and reliable software helps in resolving the error.

Fix 3: Use Stellar Repair for Excel

A professional Excel file repair software that successfully repairs damaged Excel .XLS and .XLSX file without hassle. Recovers all important Excel file components: table, chart, chartsheet, formula, cell comment, image, sort, filter, etc. without data loss or change in the structure or formatting of the files. With user-friendly and intuitive interface having easily accessible tabs, buttons, and menus, the Excel repair process is easy and saves time.

About The Author

Priyanka is a technology expert working for key technology domains that revolve around Data Recovery and related software’s. She got expertise on related subjects like SQL Database, Access Database, QuickBooks, and Microsoft Excel. Loves to write on different technology and data recovery subjects on regular basis. Technology freak who always found exploring neo-tech subjects, when not writing, research is something that keeps her going in life.

Best Selling Products

Stellar Repair for Excel

Stellar Repair for Excel software provid

Stellar Toolkit for File Repair

Microsoft office file repair toolkit to

Stellar Repair for QuickBooks ® Software

The most advanced tool to repair severel

Stellar Repair for Access

Powerful tool, widely trusted by users &

9 comments

Yesterday, I tried to access MS Excel 2016 file but it displays “Excel Runtime Error 13”. To resolve this error I tried manual methods like Open & Repair Utility, Uninstall the error causing program and also used 3rd party free software’s.

But still, I am getting error repeatedly.

Have you tried free demo of Stellar Repair for Excel ?

Its free demo facilitates preview of recoverable Excel data. Then, you would be able to get a better decision.

I have a runtime error 13 type mismatch error on every excel sheet i am trying to use. I just migrated from Windows 10 to a IMAC with El Capitan OSX. I used a easy Bill excel sheet to make bills for my customers, and a bigger sheet for making my daily in and out of cash. The Sheets are working without any problems on windows. Then sent it to the Mac again, but the same problem still occurs.

Has anyone a suggestion?

This problem is associated with an error or damage in an Excel file. So, you can go for professional Excel file repair software.

I keep on receiving the “Runtime Error 13: Type Mismatch whenever I try to use the reshaping tool.

I am happy now with the performance of Excel.

You can share your testimonial with us.

Yesterday, my newly created macro was working fine, but today I always receive the error message:

“Excel VBA Run-time error ’13’ Type mismatch”

How to fix this error?

When inserting / deleting row / rows, get error “Type Mismatch error 13” in Excel. How I can sort out this issue.

  • Home
  • VBForums
  • Visual Basic
  • Office Development
  • [RESOLVED] Runtime Error ’53’ in Microsoft Word 2016

  1. Apr 8th, 2020, 04:51 AM


    #1

    datapard is offline

    Thread Starter


    Lively Member

    datapard's Avatar


    Resolved [RESOLVED] Runtime Error ’53’ in Microsoft Word 2016

    Hi folx, it’s been a while since I’ve had to come to you for help. Hope you are all staying healthy during this fsking pandemic.

    Anyway the situation is this.

    I have a macro template, written in Word 2010, for a client that needs to be updated. Not the macro itself, but the body of the document. That’s not the problem however. When I open the document it is supposed to open a form that is filed out and populates the document as needed.

    When I actually opened the document, I got a «Runtime error ’53’: File not found». The problem is that the «File» ie form, IS there.

    The code that is causing the error is:

    Code:

    Private Sub Document_New()
        Load frmPatInput
        frmPatInput.Show
    End Sub

    But if you look at the forms, you find the userform frmPatInput, so I don’t understand WHY I’m getting the error message. To make things even stranger, I am currently using Word 2016, my client is using Word 2017 and isn’t having any problems running the template.

    For the record, I am running Windows 8.1 Pro 64-bit and Office 2016. Can anybody think of a reason why 2016 is having the problem, yet 2017 runs fine? Also, any suggestions on how I can get the problem to stop, so I can test any changes I may make to the client’s template?

    Thank you all for your time and attention,

    datapaard

    If you have to do it more than once…
    Automate it!


  2. Apr 8th, 2020, 05:24 AM


    #2

    Re: Runtime Error ’53’ in Microsoft Word 2016

    it does indicate that a file is not found, nothing to do with a form
    assuming the form is within the template as the posted code, then maybe it is not in the default location for templates or some such
    you could try fully qualifying the form, with a prefix to the document object that contains it

    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete


  3. Apr 8th, 2020, 10:08 AM


    #3

    Re: Runtime Error ’53’ in Microsoft Word 2016

    Or that form is supposed to load data from somewhere in its Initialize-event……

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ——————————————————————————————————————————————————————————————————————————————-

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ———————————————————————————
    People call me crazy because i’m jumping out of perfectly fine airplanes.
    ———————————————————————————
    Code is like a joke: If you have to explain it, it’s bad


  4. Apr 8th, 2020, 04:36 PM


    #4

    datapard is offline

    Thread Starter


    Lively Member

    datapard's Avatar


    Re: Runtime Error ’53’ in Microsoft Word 2016

    It’s been two years since the last time this client needed me to deal with his template.

    You are correct Zvoni, the form WAS looking for files that it accesses during it’s Initialize-event stage. Once I moved the template, that as Conn pointed out was not in the proper location, to a project folder that had access to these files, it worked fine.

    Thank you to both you and Conn for your assistance

    datapard

    If you have to do it more than once…
    Automate it!


  • Home
  • VBForums
  • Visual Basic
  • Office Development
  • [RESOLVED] Runtime Error ’53’ in Microsoft Word 2016


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules


Click Here to Expand Forum to Full Width

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Off 5 ошибка горелки
  • Oesystray run time error 75
  • Oer 7451 in load indicator error code osd 04500 illegal option specified
  • Oem2 inf ошибка
  • Oem1 acpi table parse error onda

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии