To subtract you have to enter an expression like this.
Set Width to
this get the current width and subtracts 24 from it.
To get this simply highlight the box where you enter the information. Click the object you are referencing in the
"Objects With Expressions"
pane and scroll down until you find width then double click it.