Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Subtotal another open sheet in VBA

I am trying to use the worksheet function along with Subtotal to get the
total of a range on another sheet and place it in the main spreadsheet.

Cells(49, C) = Workbooks(WrkBk).Worksheets("Billable
FT").WorksheetFunction.Subtotal(9, xlRng)

Where XlRng is Range, WrkBk is a value from an array. If I remove the
worksheet and workbook references, it runs locally.
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
To copy subtotal into another sheet pol Excel Discussion (Misc queries) 3 February 8th 09 03:20 AM
Unhide column based on subtotal level open. Gilbert Excel Discussion (Misc queries) 0 September 17th 07 08:00 PM
why, when i open a work sheet does a blank sheet open as well John Excel Discussion (Misc queries) 2 July 7th 07 06:20 PM
Using the subtotal function on a prtected sheet Scottm Excel Worksheet Functions 0 July 21st 06 12:21 AM
copy subtotal information to new sheet Patience Excel Worksheet Functions 2 June 15th 05 04:03 PM


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