If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Passing an array as an arguement in Access VBA

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-04, 17:11
ontheDB ontheDB is offline
Registered User
 
Join Date: Sep 2003
Posts: 80
Passing an array as an arguement in Access VBA

Having troubles with this:

currently, i have:


sub function(ByRef arrayD() as string)



end sub

Dim ArrayA(100) as String

function(ArrayA())



what's wrong with this ?

thanks
Reply With Quote
  #2 (permalink)  
Old 01-10-04, 08:19
Xl-Dennis Xl-Dennis is offline
Registered User
 
Join Date: Dec 2003
Location: Östersund Sweden
Posts: 60
Hi,

Although it is a VBA-question which can be solved here in the Excel-forum I believe You will get better answers in the Access-forum.

Kind regards,
Dennis
__________________
Kind regards,
Dennis
Reply With Quote
  #3 (permalink)  
Old 01-10-04, 11:01
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Well, either it is a subroutine or a function - you need to be specific since you are using sub.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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