Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to empty row

I need help
I have a multiple sheeet financial program, but I want to be able to export
the totals row of variables to an archieve that will save it as values, no
problem there, however I need to be able to save it to the archieve sheet
and I want the macro to direct it to the next empty row.

eg when I tranfer the values , say from row A65 on the Monthly statement
Worksheetto A1 on the Archieve sheet, no problem, but how do I make the
macro put the next row of values (at the end of next month)
to a2 and so on. In the oldern days we could insert a pause in the macro,
which would allow you to direct the curcor to the new required row.

Thanks for any help

Peter


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Macro to empty row

Today, you could insert some code like:
rng = InputBox("Enter destination range")

But you can automate the calculation of destination range:

Dim rngDest as Range
With Worksheets("Archive")
set rngDest = Cells(Rows.count,"A").End(xlUp)
end With


HTH
--
AP

"Bigpond News" a écrit dans le message de news:
...
I need help
I have a multiple sheeet financial program, but I want to be able to
export the totals row of variables to an archieve that will save it as
values, no problem there, however I need to be able to save it to the
archieve sheet and I want the macro to direct it to the next empty row.

eg when I tranfer the values , say from row A65 on the Monthly statement
Worksheetto A1 on the Archieve sheet, no problem, but how do I make the
macro put the next row of values (at the end of next month)
to a2 and so on. In the oldern days we could insert a pause in the macro,
which would allow you to direct the curcor to the new required row.

Thanks for any help

Peter



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
Delete Row If Empty Macro Richard Excel Discussion (Misc queries) 3 January 20th 06 11:26 PM
macro only run if cell is not empty Pieter Excel Programming 6 November 14th 05 09:04 AM
macro to colour empty cells (cells not recognized as empty) Gerben Excel Programming 5 June 30th 05 03:29 PM
Macro to run if cell empty Greg[_20_] Excel Programming 15 April 15th 05 08:01 PM
Need help with empty cell in Macro Don Excel Programming 4 September 30th 04 02:50 AM


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