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: 26
Default summing through end of row

I'm trying to sum using vb from cell e3 to the bottom of the row which
will be a variable number of rows. For some reason, it doesn't like
the last line in my code. I think I may have done something wrong at
the end of the last line.

Dim Rng As Range
Set Rng = Range ("e3").End(xlDown)
rng.Offset (1,0).Formula="=SUM(E"&rng.row&")"
 
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
Summing it up Violet 1 Excel Worksheet Functions 5 October 28th 08 08:57 PM
PivotTable and summing/not summing ~*Amanda*~[_2_] Excel Discussion (Misc queries) 1 March 14th 07 07:35 PM
Summing all BUT one... popunonkok Excel Worksheet Functions 6 April 26th 06 08:35 PM
Please Help with Summing mrharlow Excel Discussion (Misc queries) 1 February 11th 06 12:54 PM
Summing teresa Excel Programming 4 January 1st 05 03:29 AM


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