CheckBox Selecting Excel Coulumns [ URGENT HELP]!

L

laserized

Hi to all,
I ve created a from, where user can enter search criterias in the
textboxes, when Ok button Clicked I ve DoCmd.OpenForm code that opens a
new form where 16 Checkboxes there. What I want to do is that, Among
the users selected CheckBoxes Excel Report Will be generated.

In the first form Ive lots of if statements that generates the SQL code
and I want to send the SQL code to a query and by that query I'll
generate the Excel with OutputTo property in VB.
In this part actually question turns to How to Send VB generated SQL
code to the Query? :D

Hope I'm clear
Any helps will be alot appriciated.
Thanx
metan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top