I've tried following the guide on this page: Specifying Rule Conditions, but nothing works. According to this page, this condition is able to be set with VBA, but any attempt to set the condition results in "object doesn't support property or method" or "type mismatch". Even tried using ChatGPT and that endlessly produced erroneous code. Code such as ruleConditions.OnLocalMachine.Enabled = true or = false is rejected and it's documented on another Microsoft page that olConditionLocalMachineOnly is read-only, so I guess that's expected (although that conflicts with the earlier reference I mentioned earlier that states that it can be set).
Anyone know how to set (or unset) a rule condition as 'on this machine only' using VBA?
Anyone know how to set (or unset) a rule condition as 'on this machine only' using VBA?