VB argument

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
This usually means that you are trying to get the code to do something that it can not do. For instance you are trying to make a msgbox = something.

Take a closer look at the documentation on how the argument is supposed to look.

You may want to cut and paste the code where the error is occurring on here.

Abbo
 
Upvote 0
Call FillDebitRecord(strBookBatch, strBookDeploy, intDebitCounter, intDeployCounter)
Call FillCreditRecord(strBookBatch, strBookDeploy, intCreditCounter, intDeployCounter)
Call FillDescriptionRecord(strBookBatch, strBookDeploy, intDescriptionCounter, intDeployCounter)
intDebitCounter = intDebitCounter + 2
intCreditCounter = intCreditCounter + 2
intDescriptionCounter = intDescriptionCounter + 2
intDeployCounter = intDeployCounter + 1
Wend

' fill the last line with a credit record plus the total amount
Call FillLastRecord(strBookBatch, strBookDeploy, intDescriptionCounter, intDeployCounter)
 
Upvote 0
To me that means you are calling a function/subroutine/procedure that requires an argument.

For example:
str

The str function converts a number to a string, you cannot call that function without "passing" a number as an argument.

For example:
str(35)

would return 35 as a string.

Therefore,

dim strString as string
dim intInt as Integer

intInteger = 35
strString = str(intInteger)

You are probably missing an argument in one or all of your Calls.

Hope this helps.
This message was edited by charlie79 on 2002-04-23 10:22
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,649
Members
448,975
Latest member
sweeberry

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top