JAcobv
JAcobv

Reputation:

Vb Compile Error expected: list separator or )

Line of code is:

BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

took this from a tutorial so not sure what I'm doing wrong :/

thats a new function if it isn't obvious

Upvotes: 1

Views: 5879

Answers (1)

John Rudy
John Rudy

Reputation: 37850

According to what I'm reading, the line of code is:

BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

That should be:

Function BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

Perhaps with a modifier before the word Function, such as Private or Public. When the function code is complete, make sure you also have this line:

End Function

Upvotes: 1

Related Questions