Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Type mismatch: array or user-defined type expected

Hi Everyone,

can you help with next problem. Here is variable declaration in sub rutine:

Sub PVT_OIL_PB(ByVal TPB As Double, ByVal GAMAGPB As Double, ByVal GAMAOPB
As Double, ByVal PSPB As Double, _
ByVal GORPB As Double, ByRef CAPB() As Double, ByRef APB() As Double)

Here is call statment for Sub PVT_OIL_PB :

Call PVT_OIL_PB(t, GAMAG, GAMAO, PS, GOR, CA(), a())

After calling rutine i have recived next error message:

"Type mismatch: array or user-defined type expected"

Where is my mistake?

Best regards,
Naftas


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining a Dyanmic Array in User Defined Type CK Excel Programming 4 April 11th 08 12:51 AM
Passing Array of User Defined Type to Form dunnerca Excel Programming 4 December 23rd 07 09:22 PM
Type Mismatch: array or user defined type expected ExcelMonkey Excel Programming 4 July 6th 06 03:40 PM
Help: Compile error: type mismatch: array or user defined type expected lvcha.gouqizi Excel Programming 1 October 31st 05 08:20 PM
Passing User Defined Type Array to Listbox PC[_4_] Excel Programming 2 June 1st 05 02:44 AM


All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"