LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Transpose cells - do I use Paste Special?

It's all right - I think I have cobbled something together to complete
this task. It's just a basic "move the cells around":

Sub MM()
Range(Selection, Selection.End(xlToRight)).Select
num = Selection.Cells.Count
For i = 1 To num - 1
ActiveCell.Offset(1).EntireRow.Insert
Next
For i = 1 To num - 1
ActiveCell.Offset(i, 0) = ActiveCell.Offset(0, i)
ActiveCell.Offset(0, i) = Null
Next
End Sub

I can easily run through it afterwards filling in duplicate values in
the address fields where necessary.

The initial "complete" macro by Dave Peterson is excellent and self-
contained though - and I shall certainly hang onto it for use when a
similar grotty list of postcodes & addresses comes down again for
processing.

Thank you, Rick and Dave, for your time and assistance in this matter.

Steve


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transpose, Paste Special idgity Excel Discussion (Misc queries) 2 September 6th 07 06:04 PM
Copy Paste Special Transpose Skip Cells and start over nmp Excel Programming 0 October 26th 06 09:37 PM
Paste Special / transpose Ron Carr Excel Discussion (Misc queries) 2 February 24th 06 06:13 PM
When I special paste and transpose.... sml New Users to Excel 4 January 12th 06 12:49 AM
Paste Special Transpose Brian Excel Programming 1 August 29th 05 03:43 PM


All times are GMT +1. The time now is 06:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"