PC Review


Reply
Thread Tools Rate Thread

Query: Hide columns with VB/VBA

 
 
New Member
Join Date: Sep 2010
Posts: 1
 
      1st Sep 2010
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to Hide columns in spreadsheet but NOT hide data in chart. KrispyData Microsoft Excel Charting 1 20th Mar 2009 05:45 PM
Hide/Unhide columns using button on top over relevant columns mompara@sympatico.ca Microsoft Excel Misc 1 7th Mar 2007 10:24 PM
VBA macro to hide certain columns even when new columns have been added vow.jackofhearts@gmail.com Microsoft Excel Discussion 7 1st Mar 2007 06:51 PM
I set up a macro to hide/unhide columns. It hides more columns =?Utf-8?B?TG9yaQ==?= Microsoft Excel Programming 1 6th Sep 2006 04:08 PM
Excel button :: Filter columns by value - possible? Additionally, hide certain columns Microsoft Excel Programming 4 28th Dec 2004 08:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 PM.