IncredibleVolk
Technical User
A null string is one whose first character has the value 0 (zero). nullstr is more commonly used as an expression for if/while/elseif statements.
If the above statement is true then I need a way to test if nothing is contained within a string. I need to delete columns in Excel if a specific cell is blank and the following is not working:
ddeexecute LinkVar "[SELECT(`"R7C5`")]"
dderequest LinkVar "R7C5" szTextd ;request cell value
usermsg "%s" szTextd
if nullstr SzTextd
ddeexecute LinkVar "[SELECT(`"C5`")]" ;select column 5
sendkey ALT 'E' ;Edit
pause 1
sendkey 'D' ;delete
pause 2
endif
If the above statement is true then I need a way to test if nothing is contained within a string. I need to delete columns in Excel if a specific cell is blank and the following is not working:
ddeexecute LinkVar "[SELECT(`"R7C5`")]"
dderequest LinkVar "R7C5" szTextd ;request cell value
usermsg "%s" szTextd
if nullstr SzTextd
ddeexecute LinkVar "[SELECT(`"C5`")]" ;select column 5
sendkey ALT 'E' ;Edit
pause 1
sendkey 'D' ;delete
pause 2
endif