Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Colin Vicary
 
Posts: n/a
Default User Choosing Which Columns to View


Hi All

Google has failed me (probably because I asked the wrong questions!)

I have a ss with around 100 columns.

I want the user to be able to view only selected columns by (ideally)
showing a list of all available columns and the user then "ticking"
which ones they want to see.

If it were possible to, say, put a number against each column they
wanted and the resulting spreadsheet had the columns in the order
they'd chosen, I'd probably be the most popular guy around - for a few
days.

Hope you can help

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=556979

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default User Choosing Which Columns to View

Here is a different way of doing it

Sub HideColumns()
Dim rngCols As Range

Set rngCols = Application.InputBox("Use the mouse to select the columns
to hide (ctrl-click for seconf etc.)", Type:=8)
If Not rngCols Is Nothing Then
rngCols.EntireColumn.Hidden = True
End If
End Sub


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Colin Vicary"
wrote in message
news:Colin.Vicary.2a68mo_1151597406.6597@excelforu m-nospam.com...

Hi All

Google has failed me (probably because I asked the wrong questions!)

I have a ss with around 100 columns.

I want the user to be able to view only selected columns by (ideally)
showing a list of all available columns and the user then "ticking"
which ones they want to see.

If it were possible to, say, put a number against each column they
wanted and the resulting spreadsheet had the columns in the order
they'd chosen, I'd probably be the most popular guy around - for a few
days.

Hope you can help

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile:

http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=556979



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default User Choosing Which Columns to View

If you only have a few options, like the Purchasing Dept always wants to see
the columns they want, and Shipping always wants some of the same but some
different, etc etc. then you could set up a MainSheet with macros thereon to
just hide the unwanted columns and show the desired ones........just one push
of a button........

hth
Vaya con Dios,
Chuck, CABGx3



"Colin Vicary" wrote:


Hi All

Google has failed me (probably because I asked the wrong questions!)

I have a ss with around 100 columns.

I want the user to be able to view only selected columns by (ideally)
showing a list of all available columns and the user then "ticking"
which ones they want to see.

If it were possible to, say, put a number against each column they
wanted and the resulting spreadsheet had the columns in the order
they'd chosen, I'd probably be the most popular guy around - for a few
days.

Hope you can help

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=556979


  #4   Report Post  
Posted to microsoft.public.excel.misc
Colin Vicary
 
Posts: n/a
Default User Choosing Which Columns to View


Thanks for those guys, but it's not really what I'm after.

I have a dos function that takes a list of product codes and adds
around 100 pieces of information to a csv.

Most of the standard requests for info are set up by simple macros.

What I'm trying to do is deal with the less frequent requests.

I'd like to have a sheet where all the available fields are in column
A, the user then picks which ones they want by ticking column B - then
the macro goes off and brings back just those columns.

I would adapt your answers to add extra functionality; if the user
chooses to see sales for months Jan to Jun 2005, I could then just show
the summed sales af those months.

Thanks again

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=556979

Reply
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
Custom View Bug? [email protected] Excel Discussion (Misc queries) 7 November 15th 05 07:45 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Printout doesn't match screen view (columns wrap differently). SheriBee Excel Worksheet Functions 1 July 13th 05 05:28 PM
Hidden Columns in Shared Workbooks Rotary Excel Discussion (Misc queries) 1 July 9th 05 12:28 AM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM


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