Find replace string to replace with CR/LF

bbbb1234

Board Regular
Joined
Aug 8, 2002
Messages
150
Office Version
  1. 365
Platform
  1. Windows
I am attempting to move a table from Word to Excel. The way I used to do it in Windows as to replace ^p with xxxxxxxxxx in Word, copy and paste the table into Excel and then do a find/replace of xxxxxxxxxx with Alt 0010.

I am now using a Mac. I did the replace ^p with xxxxxxxxxx in Word, copy and paste the table into Excel. I can't find the equivalent of Alt 0010 for Mac to do the find and replace in mass. Anyone know the Alt 0010 on a Mac or have another way of transferring a table from Word to Excel and preserving the CR/LF?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If your doing this with the Excel replace feature (Ctrl H) then try using Ctrl J instead of Alt 0010
Hoping it works on a Mac
 
Upvote 0
It appears that you can't really do it. However you could use a macro like
VBA Code:
Sub bbbb()
Cells.Replace What:="xxxxxx", Replacement:=Chr(10), LookAt:=xlPart, SearchOrder _
        :=xlByRows, MatchCase:=False
End Sub
 
Upvote 0
It appears that you can't really do it. However you could use a macro like
VBA Code:
Sub bbbb()
Cells.Replace What:="xxxxxx", Replacement:=Chr(10), LookAt:=xlPart, SearchOrder _
        :=xlByRows, MatchCase:=False
End Sub
That is a HUGE bummer that it cannot be done without macros.
 
Upvote 0
I cannot be certain it cannot be done without a macro, as I don't have a Mac. But having done a quick search of the net, that seems to be the conclusion.
 
Upvote 0

Forum statistics

Threads
1,214,552
Messages
6,120,172
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top