why does my vba code see comma as new line?
问题 I have this code that reads from text file, when line starts with "Q" its a question and "R" and "W" are wrong and right answers respectively that are read unto shapes. However the problem is, if there is a comma anywhere in the text, my powerpoint macro sees it as a new line. any help on how to fix this please? Here is the code Open ActivePresentation.Path & "\" & "questions.txt" For Input As #1 nextSlideNum = 1 nextAnswerNum = 1 Do Until EOF(1) Input #1, nextLine If Left$(nextLine, 1) = "Q"