LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Auto Sum range with multiple columns.

Can anyone tell me if there is vba command to auto sum a range similar
to pushing the autosum button ˆ‘ in excel 2007? In this situation the
cells may not always be in the same location so hard coding not
practical. I can select the range, but can't find command to autosum.
I found the the snippet below but it generates error in excel 2007.
Thanks for any advice. BRC
CommandBars.FindControl(ID:=226).Execute 'AutoSum
 
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
Dynamic Range for multiple columns Robin Excel Discussion (Misc queries) 8 April 3rd 23 02:26 PM
Sum If on multiple columns with range of criteria 44judester Excel Worksheet Functions 1 August 19th 09 10:50 PM
Auto filter for multiple columns Khardy3352 Excel Discussion (Misc queries) 2 January 25th 09 05:16 AM
If value in data range (multiple columns) return row flickflick Excel Discussion (Misc queries) 0 August 18th 06 11:59 AM
How do i auto create multiple files from 1 with multiple sheets Kathy Excel Worksheet Functions 0 July 26th 05 01:23 AM


All times are GMT +1. The time now is 07:30 AM.

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"