subbu_valliappa
11 years agoContributor
Keys Action misses entering a space
We have this line in our codes for entering parts of a formula: TestObj.Keys(ELSE IF t ge G THEN) However, the script has been entering "ELSE IF T geG THEN" on a number of times lately, ...
- 11 years agoI've seen this happen with auto complete on some forms. Does the control support auto complete? You could use set text as Robert suggests as well. I prefer to use .Keys because it more accurately represents what a user will do.
For testing purposes you could try:
Adding a space/
TestObj.Keys("ELSE IF t ge G THEN")
Breaking up the keys/
TestObj.Keys("ELSE IF t ge")
TestObj.Keys(" G THEN")
Just to see if you get different results.
Hope that helps!