Query: Hide columns with VB/VBA

Joined
Sep 1, 2010
Messages
1
Reaction score
0
Hi,
I have a form with subform.
The User selects tick boxes on the form relating to the columns of a data sheet (subform) they want to display. Pressing update refreshes the data sheet view.
I use the 'columnhidden' attribute to hide/display the columns.

What I want is to be able to export the chosen columns to a .xls spreadsheet.
How do I do this?
Should I export the data sheet or can I hide/unhide columns in the query using VB/VBA.

Any help would be good.

Using 2003 on XP.

Thanks in advance.
 

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