LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Run an Access Query from Excel VBA with Parameters

Dear all,

I have got an access file (L:\YPITHALAT\IKMALImportDATABASE.mdb)

And a query named: qryRapor01-Son

The column names a

1. Analist
2. CD_Supplier
3. CS

Well, to be an easy example, i just want to run the query and get these 3
columns in the excel sheet (for example the first value to cell a1).

My parameter would be like "where Analist is "MK" (OR MK is going to be a
variable)

The problem is i do not know how to make this.

Could you please help?

regards,

 
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
Excel Query Parameters jason Excel Discussion (Misc queries) 1 February 8th 09 10:02 PM
Passing parameters from excel to access Jabeen Excel Programming 2 April 5th 05 12:33 PM
Is there a way to pass parameters to a web query in excel daytonsupply Excel Programming 1 February 23rd 05 04:10 PM
Web query with parameters does not work in Excel 2000 - Please help Belinda Excel Programming 0 June 4th 04 02:05 PM
RP - Office 2000 automation parameters Access and excel Matt. Excel Programming 5 December 16th 03 07:55 PM


All times are GMT +1. The time now is 01:23 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"