Invalid Argument

jo.stanley

Board Regular
Joined
Apr 13, 2004
Messages
177
:oops:
I have a database that holds 130,000 records and this has a number of make table queries - these are very simple queries which just find data after a certain date. However I can run the queries three times and then if I try to run them again they come back saying Invalid Argument. Does anyone know why this could be happening - If I reboot my computer and try again it will let me run them three times and then not again.

Please help
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You wouldn't be using XP by any chance? I have some code that processes 4 separate macros in an Excel file -- or it used to in A97. Now the fourth one hangs.
I wonder if XP has a bug related to this problem?

Denis
 
Upvote 0
Are you running the same thing three times in a row? Or are you running it with different criteria. I usually get that when I have some bad data that's getting passed around or sending the wrong data type through a procedure.
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

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