Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
PO PO is offline
external usenet poster
 
Posts: 66
Default Problem using outlines

I'm using outlines in an Excel 2000 spreadsheet. The problem is that some
parts of the worksheet have to be protected so clicking the outline symbols
(+/- or 1|2) won't work. I therefore, somehow, would need to unprotect the
workbook before the expand/collapse event is triggered and thereafter
reprotect it.

The problem is that there is no BeforeExpand/collapse event, none that I
could find anyways.

1. Can this be solved using standard VBA?
2. or if not - is there a API-function(s) I can use?

TIA
PO


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem using outlines

1. You need to unprotect and re-protect as you suggest. I suggest yo
record macros of your various expand/collapse requirements and supply
method via a custom dialog box or buttons to run them. You can make
custom toolbar, attach it to a workbook and save and close. Deletin
the toolbar will then make it only available with that workbook.

2. API calls will have no application in this context because you
requirements apply to Excel, rather than to the general Windows system

--
Message posted from http://www.ExcelForum.com

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
excel - outlines meghnal Excel Worksheet Functions 4 June 26th 09 10:07 AM
Sub-total outlines Mark Excel Worksheet Functions 1 March 26th 08 03:54 PM
Sorting Outlines ecounts12 Excel Worksheet Functions 0 June 6th 06 04:57 PM
Excel Outlines Joyce Excel Worksheet Functions 2 September 20th 05 07:58 PM
Using Outlines in Excel Sandi Excel Discussion (Misc queries) 1 March 7th 05 06:12 PM


All times are GMT +1. The time now is 11:25 AM.

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"