Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
This code ...
Appears to fail when the value of .tb_r7_srl.Value equals "-" WHen the value is indeed a hyphen, the code skips over to the Else condition.
A check in the immediates window of Me.tb_r7_srl.Value returns -.
What could be causing this?
Code:
....
If .tb_r7_srl.Value = "-" Then
.tb_r7_srl.Value = ""
.tb_r7_sru.Value = ""
Else
....
Appears to fail when the value of .tb_r7_srl.Value equals "-" WHen the value is indeed a hyphen, the code skips over to the Else condition.
A check in the immediates window of Me.tb_r7_srl.Value returns -.
What could be causing this?