abinayadru
New Member
- Joined
- Jul 3, 2019
- Messages
- 1
Hi Everyone,
I coded this following in adobe PDF using java script and I would now like to convert it into excel. Could you please help me with trying to convert this following code into VBA?
if (event.value == "Distribution") {
var cost = Number(this.getField("cost limit").valueAsString);
if (cost>=200001) {
this.getField("Sps").setItems(["Joe Doe"]);
} else {
this.getField("Sps").setItems(["Chris Worth"]);
}
}
Thank you very much.
I coded this following in adobe PDF using java script and I would now like to convert it into excel. Could you please help me with trying to convert this following code into VBA?
if (event.value == "Distribution") {
var cost = Number(this.getField("cost limit").valueAsString);
if (cost>=200001) {
this.getField("Sps").setItems(["Joe Doe"]);
} else {
this.getField("Sps").setItems(["Chris Worth"]);
}
}
Thank you very much.