Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Outline grouping within macro?

Hello somebody out there,

I am trying to hide some rows (using outline grouping), containing macro
buttons, before printing/publishing the spreadsheet. I am trying to achieve
this with a macro which is attached to one of the buttons being hidden.

I recorded the macro and attached it to the button. the code generated was:

Rows("5:11").Select
ExecuteExcel4Macro "SHOW.DETAIL(1,11,FALSE,,4)"

Upon clicking the button I received a run-time error '1004' message: "you
have entered too many arguments for this function."

I looked at the debug definition which said "cannot jump to
'ExecuteExcel4Macro' because it is hidden."

Can any one point me in the right direction?

Thanks very much,
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
Outline(grouping) more than 8 levels dk96m Excel Discussion (Misc queries) 1 October 26th 09 06:10 PM
Grouping and outline to the left or above Stonewall Rubberbow Excel Discussion (Misc queries) 0 December 10th 08 11:53 PM
Grouping & Outline havovie Excel Discussion (Misc queries) 2 July 8th 08 04:11 PM
Grouping and outline Joel Excel Discussion (Misc queries) 2 August 28th 07 01:40 PM
Grouping and outline swami Excel Programming 9 December 15th 04 12:15 PM


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