Resetting an Undefined Macro Variable

Excel automation lets you automatically reset undefined macro variables.

To reset undefined macro variables, click SOLIDWORKS Electrical > Configurations > Project. In the Electrical Project Configuration dialog box, on the General tab, under Excel automation, select Reset undefined macro variable. When you select this option, the %xxx% variable does not remain in the inserted macro. It is replaced by:
  • An empty string
  • A removed object
  • Associated default object (like function or location)