Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Print Custom View Macro

I have two Command Buttons set to print custom views. They work okay, but my
spreadsheet is very long and I need to know how to make it stop printing at
the last filled in row of data.

Secondly, the macros unprotect the spreadsheet so it can hide appropriate
columns for the custom views, then protects it again after. The question here
is how to return to a non-custom view at the end of the macro. The view seems
to lock after the macro is done because of spreadsheet protection.

So: 1 - How to stop printing within a macro at a certain row and 2 - How to
return to a non-custom view within a macro after the print is complete but
before reprotecting the spreadsheet

Thank you greatly -
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 Macro View/Print Toolbar for Calendar KC guru Excel Discussion (Misc queries) 0 February 21st 07 03:30 PM
Macro to view 'Print' dialog box JakeyC Excel Programming 3 October 15th 05 06:53 PM
Macro / Custom View vecia[_2_] Excel Programming 2 September 9th 05 08:56 PM
How do I write a macro for a button to send user to a custom view? Hugnuffer Excel Discussion (Misc queries) 1 August 16th 05 06:34 PM
Macro for Custom view sushantbapna Excel Programming 3 August 23rd 04 11:26 PM


All times are GMT +1. The time now is 03:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"