Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is the code to insert data require into another excel workbook, it is
pasting it vertical as in a1 a2 a3 etc i need it to paste a1 b1 c1 etc. Please help. lngRow = wsDest.Cells(Rows.Count, "A").End(xlUp).Row + 1 wsDest.Range("A" & lngRow).Resize(rngTemp.Rows.Count, _ rngTemp.Columns.Count) = rngTemp.Value End With wbBook.Close True |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Neil; why dont you try recording a macro with transpose and modify your code
to suit.. If this post helps click Yes --------------- Jacob Skaria "Neil Holden" wrote: Below is the code to insert data require into another excel workbook, it is pasting it vertical as in a1 a2 a3 etc i need it to paste a1 b1 c1 etc. Please help. lngRow = wsDest.Cells(Rows.Count, "A").End(xlUp).Row + 1 wsDest.Range("A" & lngRow).Resize(rngTemp.Rows.Count, _ rngTemp.Columns.Count) = rngTemp.Value End With wbBook.Close True |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
AutoRun Macro with a delay to give user the choice to cancel the macro | Excel Programming | |||
Macro not showing in Tools/Macro/Macros yet show up when I goto VBA editor | Excel Programming | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |