Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete Row If Empty Macro | Excel Discussion (Misc queries) | |||
macro only run if cell is not empty | Excel Programming | |||
macro to colour empty cells (cells not recognized as empty) | Excel Programming | |||
Macro to run if cell empty | Excel Programming | |||
Need help with empty cell in Macro | Excel Programming |