Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default How to extend user options

Unencumbered by the thought process:

If you're not printing too many columns, maybe you could build a userform that
shows the sheet and has a check mark for each column--hide/show.

<---columns to hide--
sheet prt sheet A B C D E F G H Same as above
sh1 x x x x x x
sh2 x x
sh3 x x x x x
sh4 -

Or group your sheets and tell them that they're formatting (hiding/showing) all
the selected sheets.

Or just teach them how to hide/unhide columns and tell them to set it up the way
they want before they print.

And if that flies, it sure looks you can get back to a more normal life! <vbg





Stuart wrote:

A string array has been built which holds the workbooks selected
for printing. Before any work with the array, I currently present
the following:

'Fill the ListBox
With GetUserPrintOptions.ListBox1
.RowSource = ""
.AddItem "You want to print EVERY Worksheet in EVERY chosen Workbook"
.AddItem "You want to hide a Column(s) before printing"
.AddItem "You want to print EVERY page...including pages that total
'0.00'"
.AddItem "ALL printing will be in PORTRAIT mode"
End With
GetUserPrintOptions.Show
'get user's print options
With GetUserPrintOptions.ListBox1
If GetUserPrintOptions.ListBox1.Selected(0) = True Then
PrintAllBooks_Sheets = True
End If
If GetUserPrintOptions.ListBox1.Selected(1) = True Then
HideCols = True
End If
If GetUserPrintOptions.ListBox1.Selected(2) = True Then
PrintZeroPages = True
End If
If GetUserPrintOptions.ListBox1.Selected(3) = True Then
PrintAllPortrait = True
End If
End With

This is fine in a rudimentary way, but it still means an awful lot of user
input is required as the code loops through the array workbook. For
example, if the user opts to hide a column(s), then I've got to present
that option for every sheet in every selected workbook, just in case it
contains a column to be hidden.

Would a better way be to try to get all user options for each book in
one go? If so, how would I achieve this, please?

Regards.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003


--

Dave Peterson

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
Pivot Table Security - customize field options based on user accou HBA Excel Discussion (Misc queries) 0 November 4th 08 06:50 PM
User Defined Charts-Missing the "Add-Delete" Options. RUSH2CROCHET Excel Discussion (Misc queries) 0 February 15th 07 03:53 PM
Extend Border As User Inputs New Rows Paperback Writer Excel Discussion (Misc queries) 1 December 1st 06 02:58 PM
Excel should heavily extend the options for black-white charts Dan from Sweden Charts and Charting in Excel 0 October 17th 05 01:26 PM
How best to extend user's options? Stuart[_5_] Excel Programming 4 August 9th 03 01:24 AM


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