Subtract In Vb 追蹤

0
Avatar
Legacy Poster

Hi,

Hoping someone can help.

 

Looking for a simple script to subtract one number box from another number box and give the result in a 3rd number box.

 

I have this which is not working.

 

Format.NamedSubStrings("NWT").Value result = Format.NamedSubStrings("GWT").Value - Format.NamedSubStrings("TRE").Value

 

I hve tried several ways to do this but it does not work.

Obviously i am not a VB programmer so any help would be appreciated.

Thanks,

Bill

1 意見

0
Avatar
Legacy Poster
評論操作 永久連結

Change the data source type for NWT to "Visual Basic Script", and then put your evaluation in the "Single Line Script":

 

Format.NamedSubStrings("GWT").Value - Format.NamedSubStrings("TRE").Value

登入寫評論。