Share via

Getting run time error 4198 command failed

Anonymous
2023-03-13T17:04:04+00:00

Is there a Microsoft update or ddl that has been made since this error first appeared in October that is to blame? After clicking the debug button, the following line of my code failed.

Error:-The Specified file could not be written to. It may be in use.

Run time error 4198 command failed

Set docWD = appWD.Documents.Open(strdoc)

appWD.Visible = True

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-03-13T17:04:47+00:00

    Hi Team,

    Please help on this query.

    Thanks

    Was this answer helpful?

    0 comments No comments