Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ser ser is offline
external usenet poster
 
Posts: 1
Default Moving multiple row cells into one row

Hello,

I am new to Excel formulas and just need to know how to move the
contents of multiple rows into one row without needing to know (hard
code) the end cell value. (this could be C1 or it could be EE1 or....)

Example:

ABC
DEF
GHI

into ...

ABC DEF GHI (contents of multiple rows into one row)

Is there a simple formula syntax value for range for this type of thing
in the options in menu bar for "text to columns"?

Thank you.

- S



---
Message posted from
http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Moving multiple row cells into one row

Why don't you use PasteSpecial Transpose when you paste?
Or coding something like this.


Code:
--------------------

Sub Test()
Dim Target As Range
On Error Resume Next
Set Target = Application.InputBox("Select Data", Type:=8)
If Target Is Nothing Then Exit Sub
Target.Copy
Selection.PasteSpecial Transpose:=True
Application.CutCopyMode = False
End Sub

--------------------



---
Message posted from http://www.ExcelForum.com/

Reply
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
Moving text around cells without moving boarder lines Dale Excel Discussion (Misc queries) 1 December 15th 09 06:14 PM
Enter Key + Dragging Cells / Moving Cells Tim Excel Discussion (Misc queries) 2 September 24th 08 11:14 AM
Arrow Keys Moving Window Frame instead of Moving Between Cells nemmex Excel Discussion (Misc queries) 2 April 9th 07 09:08 AM
Moving data from multiple cells to one column [email protected] Excel Discussion (Misc queries) 2 June 28th 06 02:15 AM
Moving cursor to identical cells across multiple sheets Sue Sch Excel Discussion (Misc queries) 4 November 2nd 05 02:45 PM


All times are GMT +1. The time now is 01:34 PM.

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

About Us

"It's about Microsoft Excel"