Комментарии:
Great content! Thank you for sharing your knowledge!
My team has quite a few macros. Most of them open log files, read data, validates and extracts data on log files based on the position in the row. Then finally generats ouput files (log file) with the information based on the matched criteria. Most of the times because of extra spaces or characters macro not able to read data on source files (log files) and providing error messages.
Could you please upload a video with log files and how to identify source file and the line of souce file where the error coming from?
Thank you in advance!
Thanks Sir
ОтветитьCan't hear you
Ответитьthank you I did copy and pasted "Private Sub" on a module! i was pulling my dick off trying to find this help thanks
ОтветитьHow can I fix and Compile Error : Expected End with ???
ОтветитьHere is my code and I still get the error even when I copy it into a totally different and new project:
Sub Analyse_Scores()
Dim StudentScore As Integer
Dim StudentResult As Variant
Dim StudentName As Variant
StudentScore = Range("D4").Value
StudentName = Range("C4").Value
SelectCase StudentScore
Case Is < 300
StudentResult = "Failed"
Case Is < 500
StudentResult = "Average"
Case Is < 800
StudentResult = "Above Average"
End Select
MsgBox StudentName & ": His result shows that he is a " & StudentResult & " student."
End Sub
where the voice
Ответить