Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Newbie needs direction

I've done very little Excel Programming so I don't know if this is
possible to do. If it is, I would appreciate some reference to a
site, post or book that would help me do it.

1) I want to be able to copy information to one row below the bottom
row of the sheet.
2) I want to be able to automatically extend sum formulas when
information is entered in a cell. This cell "floats" and will always
be one below the last row, on the same same row which the formula is
to be extended to.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Newbie needs direction

to get to the bottom of a set of data

assume column A and data is contiguous (no embedded blank cells) with data
starting in A1
Data must be in A1 and A2 (so this would need to be checked explicitely)

set rng = Cells(1,1).End(xldown).Offset(1,0)

if not other data is below, you can come up from the bottom

set rng = Cells(rows.count,1).End(xlup).Offset(1,0)

This assumes data in A1 (this would need to be checked).

In Excel 2000 and later, this is an option in Tools=Options=Edit Tab
"Extend List formats and Formulas"

--
Regards,
Tom Ogilvy



FilterXG wrote in message
om...
I've done very little Excel Programming so I don't know if this is
possible to do. If it is, I would appreciate some reference to a
site, post or book that would help me do it.

1) I want to be able to copy information to one row below the bottom
row of the sheet.
2) I want to be able to automatically extend sum formulas when
information is entered in a cell. This cell "floats" and will always
be one below the last row, on the same same row which the formula is
to be extended to.



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
Need Direction CmK New Users to Excel 3 July 3rd 07 12:04 AM
Need direction CmK Excel Discussion (Misc queries) 4 July 2nd 07 04:48 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Direction lsmft Excel Discussion (Misc queries) 2 April 27th 06 01:04 PM
I need direction Reluctantputerhead Excel Discussion (Misc queries) 3 November 2nd 05 12:42 AM


All times are GMT +1. The time now is 11:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"