#1   Report Post  
ukash
 
Posts: n/a
Default moving last row

How can I move last row to second row? When I'm opening excel document
it's last row is for example in 58 row but there is now data in there.
Is there any way to manualy set last row?

--
ukash
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

not sure i understand the question, but is the "problem" that you have a
formula that says
=SUM(A2:A58)
and now when you go to add information into row 59 you have to edit the
formulas?
in that case, why don't you just make the formulas bigger e.g.
=SUM(A2:A1000) or

or alternatively create a dyanamic range names that resizes itself when you
add new records at the bottom of the data - you can then use that range name
in formulas e.g. =SUM(mynums)
check out
http://www.contextures.com/xlNames01.html#Dynamic

for details on how to do this

Please post back if i've completely missed the point.

Cheers
JulieD

"ukash" wrote in message
...
How can I move last row to second row? When I'm opening excel document
it's last row is for example in 58 row but there is now data in there.
Is there any way to manualy set last row?

--
ukash



  #3   Report Post  
ukash
 
Posts: n/a
Default

JulieD wrote:

for details on how to do this

Please post back if i've completely missed the point.


thank you for reply. I import data to my database using excel document.
When I do that sometimes a lot of empty rows are added. I wrote makro
which is used to order data and to mark duplicates. I don't know how to
remove empty rows? When I use
lastRow = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell) .Row
MsgBox(lastRow) says that my document have 400 row but in this document
there are only 40 filled rows and 360 are empty rows. I need to find
something which will tell ms office that last row is number 40 not 400 :)

I don't know how to remove all this empty rows.

--
ukash
  #4   Report Post  
ukash
 
Posts: n/a
Default

JulieD wrote:

check out
http://www.contextures.com/xlNames01.html#Dynamic


thanks JulieD this site helped me a lot :)
http://www.contextures.com/xlfaqApp.html#Unused
this is what I was looking for :)
And exacly this part:
"To programatically reset the used range,"

Thak you once again :)

--
ukash
  #5   Report Post  
JulieD
 
Posts: n/a
Default

Hi

i'm glad you've found a solution ...

Cheers
JulieD

"ukash" wrote in message
...
JulieD wrote:

check out
http://www.contextures.com/xlNames01.html#Dynamic


thanks JulieD this site helped me a lot :)
http://www.contextures.com/xlfaqApp.html#Unused
this is what I was looking for :)
And exacly this part:
"To programatically reset the used range,"

Thak you once again :)

--
ukash



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
Moving average Mike B Excel Worksheet Functions 8 March 21st 05 04:41 PM
Plotting moving average line on a chart Herbert Chan Charts and Charting in Excel 1 February 26th 05 08:31 PM
Excel moving horizontal columns to vertical doulos Excel Discussion (Misc queries) 1 February 4th 05 06:01 PM
Arrow keys move screen instead of moving from cell to cell. JaJay777 Setting up and Configuration of Excel 1 January 17th 05 06:48 PM
Moving page up and down with arrow keys instead of individual cel. Ike Excel Discussion (Misc queries) 2 January 3rd 05 05:51 PM


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