I use a lot of scripts that execute commands where the variables are grabbed from an excel sheet.
The one thing I've never been able to do is figure out how to know when I've copied a blank cell, which would mean I've reached the end of variables and would like to exit the loop.
I searched a bit but didn't find anything on point.
TIA
I'd like to detect when the script copies a blank cell
Started by
iguru42
, Jul 19 2012 06:12 PM
2 replies to this topic
#1
Posted 19 July 2012 - 06:12 PM
#2
Posted 19 July 2012 - 06:16 PM
It will probably contain just a new line, so you may check it comparing like this
Although using COM is a more reliable way to deal with excel.
If Clipboard = `r`n.Although using COM is a more reliable way to deal with excel.
#3
Posted 19 July 2012 - 06:44 PM
/me sighs.......
oh em gee, that was so freaking easy. Dunno what my problem was with that. Thanks Pulover, that's exactly what a blank cell is `r`n.
oh em gee, that was so freaking easy. Dunno what my problem was with that. Thanks Pulover, that's exactly what a blank cell is `r`n.




