VBA Errors   Compile Error   Sub or Function not defined

VBA Errors Compile Error Sub or Function not defined

YourProgrammingNetwork

5 лет назад

50,088 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kishi Chowdary
Kishi Chowdary - 24.03.2023 06:28

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!

Ответить
Ahmad Altayeb
Ahmad Altayeb - 22.02.2021 15:27

Thanks Sir

Ответить
Bruno Maia
Bruno Maia - 26.01.2021 11:19

Can't hear you

Ответить
How to*?
How to*? - 04.11.2020 01:57

thank you I did copy and pasted "Private Sub" on a module! i was pulling my dick off trying to find this help thanks

Ответить
Health Mynd
Health Mynd - 22.01.2020 19:16

How can I fix and  Compile Error : Expected End with ???

Ответить
James Aderinwale
James Aderinwale - 17.10.2019 13:10

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

Ответить
Varun singh
Varun singh - 08.05.2019 08:55

where the voice

Ответить