I wonder...

miffe

New Member
Joined
May 3, 2006
Messages
15
We all know that it's dead easy to execute Query's and bring data from access into excel, as well as outputing cells from excel into access (.mdb)'s...

BUT...

Is it possible to execute a query from excel to retrieve the number of records in an access database in a remote computer? If so... how?

Thx -
Miffe
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Miffe,

The steps would be...

1. Create a recordset based on the table
2. MoveLast in the recordset
3. Return the RecordCount

You can only get the number of records by going to the end of the recordset, as far as I know

Denis
 
Upvote 0

Forum statistics

Threads
1,222,398
Messages
6,165,766
Members
451,986
Latest member
samwize

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