Error saving to file (Error 31036)

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

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.