Guest_imported
New member
- Jan 1, 1970
- 0
Hey,
I use the following line to find the next empty line in column A. I have data in cells A5 and A18, so the following line finds the next empty line after A5 but before A18.
[A6:A65536].SpecialCells(xlCellTypeBlanks)(1, 1).Value = Format(Time(), "hh:mm"
Once I find the next empty line, I type information in the cells next to it, in this case Column B.
An example: Using the above code puts information in, say, Cell A7. I then type data in B7 but if the information doesn't fit in B7, I then type in B8. Now, if I run the code again it writes in A8 but I want it to recognize that something is in B8 and write in A9. Should nothing be in B8 then write to cell A8.
I use the following line to find the next empty line in column A. I have data in cells A5 and A18, so the following line finds the next empty line after A5 but before A18.
[A6:A65536].SpecialCells(xlCellTypeBlanks)(1, 1).Value = Format(Time(), "hh:mm"
Once I find the next empty line, I type information in the cells next to it, in this case Column B.
An example: Using the above code puts information in, say, Cell A7. I then type data in B7 but if the information doesn't fit in B7, I then type in B8. Now, if I run the code again it writes in A8 but I want it to recognize that something is in B8 and write in A9. Should nothing be in B8 then write to cell A8.