Attached is a screen shot of what I need help with. I want to split column C so that each line is on its own row, with the data in columns A and B reapeating for each line.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
split into multiple rows (2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » split into multiple rows (2003)
- This topic has 5 replies, 3 voices, and was last updated 17 years, 1 month ago.
AuthorTopicWSMelanieB
AskWoody LoungerApril 15, 2008 at 6:20 pm #450236Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody Lounger -
WSMelanieB
AskWoody Lounger
-
WSHansV
AskWoody LoungerApril 15, 2008 at 6:48 pm #1105737Try this macro:
Sub SplitLines()
Dim m As Long
Dim r As Long
Dim arr As Variant
Dim i As Long
m = Range(“E” & Rows.Count).End(xlUp).Row
For r = m To 1 Step -1
arr = Split(Range(“E” & r), vbLf)
For i = UBound(arr) To 1 Step -1
Range(“A” & r).EntireRow.Copy
Range(“A” & (r + 1)).Insert
Range(“E” & (r + 1)) = arr(i)
Next i
Range(“E” & r) = arr(0)
Next r
Application.CutCopyMode = False
End Sub-
WSindro
AskWoody Lounger -
WSMelanieB
AskWoody Lounger
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Frustrating search behavior with Outlook
by
MrJimPhelps
12 minutes ago -
June 2025 Office non-Security Updates
by
PKCano
3 hours, 25 minutes ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
30 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
3 hours, 21 minutes ago -
How start headers and page numbers on page 3?
by
Davidhs
13 hours, 45 minutes ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
8 hours, 20 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
22 hours, 26 minutes ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
22 hours, 27 minutes ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
12 hours, 9 minutes ago -
Firefox 139
by
Charlie
4 hours, 44 minutes ago -
Who knows what?
by
Will Fastie
33 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
23 hours, 11 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
17 hours, 34 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day, 1 hour ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
2 days, 5 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
2 hours, 28 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
2 days, 3 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
1 day, 2 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day, 17 hours ago -
Rufus is available from the MSFT Store
by
PL1
2 days, 2 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
3 days, 4 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 4 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
1 day, 3 hours ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
3 days ago -
Office gets current release
by
Susan Bradley
3 days, 3 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
4 days, 17 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
4 days, 1 hour ago -
Stop the OneDrive defaults
by
CWBillow
4 days, 18 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
5 days, 4 hours ago -
X Suspends Encrypted DMs
by
Alex5723
5 days, 6 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.