Solved

VS 2005 errors - parameters must be explicitly typed if any

Posted on 2007-11-14
3
968 Views
Last Modified: 2013-11-26
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
Comment
Question by:murbro
3 Comments
 
LVL 23

Accepted Solution

by:
Ashish Patel earned 500 total points
ID: 20278604
Try this
Sub Names2_2(ByVal oSheetName As Object, ByVal oMultiple As Boolean, ByVal ListNum As Integer)
0
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 20278608
I assume oSheetName is a string?

Sub Names2_2(ByVal oSheetName As String, ByVal oMultiple As Boolean, ByVal ListNum As Integer)
0
 
LVL 5

Expert Comment

by:administradores
ID: 20278615
oMultiple is a Boolean but oSheetName must be typed.

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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now