HomeTroubleshootingPrecisionTree"Object variable or With block variable not set" (PrecisionTree 1.0)

12.5. "Object variable or With block variable not set" (PrecisionTree 1.0)

Applies to: PrecisionTree 1.0 only

When I try to edit a node, I get the message

Run-time error '91':
Object variable or With block variable not set

This comes from editing the tree using Excel edits, such as Ctrl-C and Ctrl-V. It's important to edit a tree using only PrecisionTree facilities.

Unfortunately, once the tree reaches this state of corruption it can't be repaired. The only way to fix the error is to close Excel, reopen PrecisionTree, and build up the tree in a fresh workbook.

See also: There are other possible causes for this message. See All Articles about "Object variable or With block variable not set".

Last edited: 2016-02-23

This page was: Helpful | Not Helpful