HomeTroubleshootingAll Products: Other IssuesAll Articles about "Object variable or With block variable not set"

3.16. All Articles about "Object variable or With block variable not set"

Applies to: All products

"Object variable or With block variable not set" is a Visual Basic error message. It could originate in Excel itself, in Palisade code, or in your own macros if you have an .XLSM file. Roughly, it means that the VBA code used some variable without first initializing it properly.

Since there's not just one known cause, you may have to try several possibilities. Here is a list of the causes that we have seen when helping customers, and the solutions:

Additional keywords: Object variable, with block, variable not set

Last edited: 2017-04-28

This page was: Helpful | Not Helpful