Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Every evening, I copy and paste a column of numbers into a row of
numbers...from one workbook to another, using the PASTE SPECIAL, TRANSPOSE capabilities of EXCEL. Since I do this EVERY DAY, is there a way I can bypass the PASTE SPECIAL command via some instruction.thus telling the command to copy into a row instead of a column? In other words, I would like to speed up the process, click on the leading cell, and then copy (what was once a column in another worksheet into a row on my new workbook). Thanks, Any pointers?? FL Kulchar |
#2
![]() |
|||
|
|||
![]()
create a vba procedure like this
Public Sub test() Range("d5:d10").Copy Workbooks("book2").Worksheets("sheet1").Range("B4" ). _ PasteSpecial xlPasteValues, Transpose:=True End Sub this sub is placed on the vbeditor of book1 where the column data is located customise the sub to suit your needs. your original data is in sheet1 and range d5 to d10 the data to be copied to book2, sheet1 and from B4 ================ FLKULCHAR wrote in message ... Every evening, I copy and paste a column of numbers into a row of numbers...from one workbook to another, using the PASTE SPECIAL, TRANSPOSE capabilities of EXCEL. Since I do this EVERY DAY, is there a way I can bypass the PASTE SPECIAL command via some instruction.thus telling the command to copy into a row instead of a column? In other words, I would like to speed up the process, click on the leading cell, and then copy (what was once a column in another worksheet into a row on my new workbook). Thanks, Any pointers?? FL Kulchar |
#3
![]() |
|||
|
|||
![]()
If you're not experienced with VBA, perhaps the simplest way is to use the
macro recorder to record the key strokes you use to copy data from one spreadsheet to another. If you do so, make sure you hit the "Relative Reference" button on the tool bar that pops up before entering your keystrokes. Then, use keystrokes that seek the last row of the spreadsheet where you want to append the data. Otherwise if you simply point to cell "A6", for instance, then the macro will always try to write into cell A6 rather than at the bottom of your spreadsheet. "R.VENKATARAMAN" wrote: create a vba procedure like this Public Sub test() Range("d5:d10").Copy Workbooks("book2").Worksheets("sheet1").Range("B4" ). _ PasteSpecial xlPasteValues, Transpose:=True End Sub this sub is placed on the vbeditor of book1 where the column data is located customise the sub to suit your needs. your original data is in sheet1 and range d5 to d10 the data to be copied to book2, sheet1 and from B4 ================ FLKULCHAR wrote in message ... Every evening, I copy and paste a column of numbers into a row of numbers...from one workbook to another, using the PASTE SPECIAL, TRANSPOSE capabilities of EXCEL. Since I do this EVERY DAY, is there a way I can bypass the PASTE SPECIAL command via some instruction.thus telling the command to copy into a row instead of a column? In other words, I would like to speed up the process, click on the leading cell, and then copy (what was once a column in another worksheet into a row on my new workbook). Thanks, Any pointers?? FL Kulchar |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste rows of numbers from Word into single Excel cell | Excel Discussion (Misc queries) | |||
cut and paste format problem | Excel Discussion (Misc queries) | |||
copy paste cell character limit | Excel Discussion (Misc queries) | |||
How to cut and paste with locked formulas | Excel Discussion (Misc queries) | |||
Paste Special Question | Excel Discussion (Misc queries) |