Error saving to file (Error 31036)

Visual Basic can't write the object to the specified file (set Action = 11 or 18). Possible causes:

  • The FileNumber property is invalid.

  • The specified file wasn't opened in Binary mode.

  • There isn't enough disk space.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.