Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VS 2005 errors - parameters must be explicitly typed if any

Sub Names2_2(ByVal oSheetName, ByVal oMultiple As Boolean, ByVal ListNum As Integer)

 In the above code I am getting an error on oMultiple and ListNum as described in the header of this question
ASKER CERTIFIED SOLUTION
Avatar of Ashish Patel
Ashish Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wayne Taylor (webtubbs)
I assume oSheetName is a string?

Sub Names2_2(ByVal oSheetName As String, ByVal oMultiple As Boolean, ByVal ListNum As Integer)
Avatar of administradores
administradores

oMultiple is a Boolean but oSheetName must be typed.

What is inside oSheetName, or what kind of object it is?