krsupinger
Programmer
I have been working on this problem for the last couple of days and have not found the answer that I need anywhere on the internet in VB.
I am now wondering if it is even possible.
I am needing to write a macro that is going to do a few things but the one that I am having trouble with is how to have the macro check the first character of the 9th line and see if it is a ">".
I have not had any trouble with the testing etc of the other parts of the macro.
I have found a few places that talk about doing something similar in C## and Java but not in VB.
If anyone can help and let me know if this is possible I would greatly appreciate it.
Current code for that I have for this is
If (Left(ReadLine(9), 1)) = ">" Then
.Transmit "P" & CR
ElseIf (Left(ReadLine(9), 1)) <> ">" Then
.Transmit CR
End If
I am now wondering if it is even possible.
I am needing to write a macro that is going to do a few things but the one that I am having trouble with is how to have the macro check the first character of the 9th line and see if it is a ">".
I have not had any trouble with the testing etc of the other parts of the macro.
I have found a few places that talk about doing something similar in C## and Java but not in VB.
If anyone can help and let me know if this is possible I would greatly appreciate it.
Current code for that I have for this is
If (Left(ReadLine(9), 1)) = ">" Then
.Transmit "P" & CR
ElseIf (Left(ReadLine(9), 1)) <> ">" Then
.Transmit CR
End If