Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another issue as well... I want to create a button that automatically copy an
area from 5 different sheets and put them into a new sheet. Not that complex, but the problem is that the number of rows included when copying might differ from time to time so I cannot just create a macro to paste in the second area below the first one as I do not know how many rows the first one will have next time. Anyone know the VBA to do this? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Andreas
You can use code from this page to find the lasr row with data http://www.rondebruin.nl/last.htm -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Andreas" wrote in message ... Another issue as well... I want to create a button that automatically copy an area from 5 different sheets and put them into a new sheet. Not that complex, but the problem is that the number of rows included when copying might differ from time to time so I cannot just create a macro to paste in the second area below the first one as I do not know how many rows the first one will have next time. Anyone know the VBA to do this? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
help w/ generic copy & paste/paste special routine | Excel Programming | |||
Excel cut/Paste Problem: Year changes after data is copy and paste | Excel Discussion (Misc queries) | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming | |||
flexible paste rows function that inserts the right number of rows | Excel Discussion (Misc queries) |