Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I begin to learn to set a macro for the following codes where the data from the table in an excel worksheet ( ie the range could be from A1 to H50 or A1 to K245 depending the data file ) exclude hidden rows, is copied to a cell below 5 rows of the above table : - Range("A1").End(xlDown).Select Selection.CurrentRegion.Select Selection.SpecialCells(xlCellTypeVisible).Select Selection.Copy Sheets("Exp_Grp").Select Range("A1").End(XlDown).Offset(5,0).Select ActiveSheet.Paste Application.CutCopyMode = False When I execute this macro, it prompts an error message Please help to rectify the above codes, thanks Regards Len |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to copy and paste values (columns)I have a macro file built | Excel Programming | |||
Copying and Patse | Excel Discussion (Misc queries) | |||
Patse Rows from one Sheet to another with a Twist | Excel Programming | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming |