Solved

VS 2005 errors - parameters must be explicitly typed if any

Posted on 2007-11-14
3
1,006 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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