Solved

VS 2005 errors - parameters must be explicitly typed if any

Posted on 2007-11-14
3
986 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculate number of nights between two dates 5 53
Add a Condition in ASP Repeater 6 34
jquery tab header text 1 23
transition to visual .net from vb6 5 39
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

837 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