Search : in
By :

Copying data into different cells using macro

Last answer on Jul 16, 2009 11:41:16 am BST Abhi, on Apr 21, 2009 11:30:20 am BST 
 Report this message to moderators

Hello,
I am trying to use macros to copy data from one cell into different cells in another sheet. My data is consisting of Organisation contact details. So i want to retain only organisation name in the cell and paste all other details separately into each different cell. For Example:
Boys & Girls Club of Greater Flint
P.O. Bosx 223
Flint, 48501

I want this data to appear as
Boys & Girls Club of Greater Flint P.O. Bosx 223 Flint MI 48501
with each appearing in different cell horizontally.
I tried by giving transpose but this will convert all the data into single row and i want each and every organisations to appear like this as i hav hundreds of details like this.

Pls let me kno how to do faster and simpler way using macros.

Abhi

Best answers for « Copying data into different cells using macro » in :
How to split data into multiple worksheets? ShowHow to split data into multiple worksheets? Issue Solution Note Issue I hope someone can help! I have a .csv file open with excel that contains a large amount of data that has been merged together so that each data set follows each...
How to Create a date from 3 different cells? ShowHow to Create a date from 3 different cells? Issue Solution Note Issue In excel I have date spread across 3 cells; 1 with the day (A1), 1 with the month (A2) and 1 with the year (A3). I want to put these 3 numbers into one cell as a...
Excel – Macro to detect and hide blank rows ShowExcel – Macro to detect and hide blank rows Issue Solution Note Issue I want a macro to unhide about 20 blank rows copy values into the top row then hide the remaining rows (some cells have fill though) then the next time it will...
Worksheet - Cells ShowThe Concept of a Cell A "cell" is the intersection between a line (horizontal) and a column (vertical) on a worksheet. Thus, the name of the line combined with the name of the column gives the cell's coordinates (the term address is sometimes also...
Spreadsheets - Cell Selection ShowCell Selection Spreadsheets are powerful tools for working with data. However, to work with data, it is necessary to have tools to rapidly choose the required cells. Line Selection An entire line can be chosen by clicking directly on the line...

1

 raju, on Jul 16, 2009 11:41:16 am BST
  • +9

Sub pl()

Columns("E:E").Select
Selection.Copy
Columns("F:F").Select
ActiveSheet.Paste
End Sub

Reply to raju