LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default This one has really got me stumped..

try

Selection.Subtotal groupBy:=1, Function:=xlSum, _
totalList:=Array(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
Application.ScreenUpdating = True

--
Regards,
Tom Ogilvy

"Andy" wrote in message
...
Hi,
I have a spreadsheet whose macros work fine on Excel97, but Excel 2002/XP
cause the Excel window to go blank. The offending line is the second macro
line below..

Worksheets("10working").Range("A1").CurrentRegion. Select

'The following line screws up the screen on Excel2002
'=================================
Selection.Subtotal groupBy:=1, Function:=xlSum, _
totalList:=Array(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)

When it executes that row on Excel 02, Excel basically loses control of

that
sheet, since it no longer refershes the screen. Moving another window on

top
of that sheet will leave a 'trail' where it hasn't re-painted the screen
after the window has moved over the top (I don't know if there is a

special
term for this or not). Code continues to run with no errors...

The following do nothing..
worksheets("10working").activate
worksheets("10working").visible=true

Window | Arange...Horizontal shows one visible sheet, and (effectively)

one
"invisilbe" sheet

I'm stumped. Any ideas / things to try would be most appreciated! NB This

is
only an issue on Excel 2002, 97 works a treat.

Many thanks in advance.



 
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
Still stumped LarryK Excel Worksheet Functions 7 March 30th 09 11:15 AM
STUMPED Suzanne Kelzer Excel Worksheet Functions 2 June 21st 07 03:36 PM
Stumped Jake Excel Discussion (Misc queries) 4 November 21st 06 01:09 PM
stumped ?? my Excel Worksheet Functions 2 April 13th 06 12:32 PM
Stumped Sheeny[_21_] Excel Programming 3 June 23rd 04 07:28 PM


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