Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1085
  • Last Modified:

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
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Ashish PatelCommented:
Try this
Sub Names2_2(ByVal oSheetName As Object, ByVal oMultiple As Boolean, ByVal ListNum As Integer)
0
 
Wayne Taylor (webtubbs)Commented:
I assume oSheetName is a string?

Sub Names2_2(ByVal oSheetName As String, ByVal oMultiple As Boolean, ByVal ListNum As Integer)
0
 
administradoresCommented:
oMultiple is a Boolean but oSheetName must be typed.

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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now