I was using the following code to test for a blank cell and then stop. However it doesn't work in a date field! Can anyone help? This is my first post. -Wilfred
Let>WW_TIMEOUT=5
CapsOff
LABEL>TOP
// This is the beginning of the script
SetFocus>Excel*
Press CTRL
Send>c
Wait>.5
Release CTRL
GCB>WITCB
IF>WITCB.25
Send>WITCB
// This pastes the copied cell into whereever
Wait>0.25
Press Up
Wait>0.25
Press Left
// This repeats the action
GOTO>TOP
LABEL>END
Test for blank cell in Excel - Date field
Moderators: JRL, Dorian (MJT support)
Test for blank cell in Excel - Date field
Last edited by wilfredtr on Thu Aug 14, 2003 5:32 pm, edited 1 time in total.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Hi Wilfred....................
You wrote:
Maybe your second post will be of more use?
===============================
(Edited after code was supplied by editing original message).
Thanks, that's much better......watch for solution now....
You wrote:
That would be very helpful it was included. Can't solve the problem without it ...wanna try again?I was using the following code

Maybe your second post will be of more use?
===============================
(Edited after code was supplied by editing original message).
Thanks, that's much better......watch for solution now....

Last edited by Bob Hansen on Fri Aug 15, 2003 3:41 am, edited 1 time in total.
[quote]GCB>WITCB
IF>WITCBWITCB
Length>WITCB,lenWITCB
IF>lenWITCB<1,END
// This tests for the blank cell
IF>WITCBWITCB
Length>WITCB,lenWITCB
IF>lenWITCB<1,END
// This tests for the blank cell
MJT Net Support
[email protected]
[email protected]