Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Determing first row in VBA when subtotaling

I keep getting a pop-up when I run my macro stating that excel can not
determine the row I want to use to subtotal from. Is there a way around this?

--
Regards,
Michael
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Determing first row in VBA when subtotaling

Two solutions.

1. Excel makes best guesses based on the layout of your data. There is
something in your layout that makes Excel think that you do not have good
dtata to subtotal. Fix that and then... no more message.

2. While I have not tried it for thsi applications I think this will work.
Just befor doing the subtotal add

application.displayalerts = false

and after the subtotal rest alerts

application.displayalerts = true

HTH

"Michael from Austin" wrote:

I keep getting a pop-up when I run my macro stating that excel can not
determine the row I want to use to subtotal from. Is there a way around this?

--
Regards,
Michael

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
Determing n=? using COUNT CatPEG Excel Discussion (Misc queries) 2 January 6th 08 06:04 PM
Determing Range Criteria Jim Aksel Excel Worksheet Functions 11 September 18th 07 09:34 PM
Determing the SQL Datasource After the Fact Gilley Excel Discussion (Misc queries) 2 June 13th 07 07:32 PM
Determing Value From Date IanEmery Excel Discussion (Misc queries) 7 July 18th 06 11:57 AM
Formula for determing average based on weighting John Sullivan Excel Worksheet Functions 2 December 16th 05 08:21 AM


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