#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Text to columns

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"






  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Text to columns

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"






  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Text to columns

Hi Gary

Ok I've done that and the answer is 13

"Gary''s Student" wrote:

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Text to columns

Now enter and run this small macro:

Sub boxkiller()
For Each r In ActiveSheet.UsedRange
r.Value = Replace(r.Value, Chr(13), "^")
Next
End Sub



It will change all the "boxes" into ^
We can then use Text to Columns with the ^ as a separator:


Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Gary''s Student - gsnu200779


"Nigel" wrote:

Hi Gary

Ok I've done that and the answer is 13

"Gary''s Student" wrote:

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Text to columns

Hi Gary

The macro worked but only removed/changed one of the pair of boxes. Running
the code again does nothing. Sorry!

"Gary''s Student" wrote:

Now enter and run this small macro:

Sub boxkiller()
For Each r In ActiveSheet.UsedRange
r.Value = Replace(r.Value, Chr(13), "^")
Next
End Sub



It will change all the "boxes" into ^
We can then use Text to Columns with the ^ as a separator:


Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Gary''s Student - gsnu200779


"Nigel" wrote:

Hi Gary

Ok I've done that and the answer is 13

"Gary''s Student" wrote:

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Text to columns

Time to find out what that other character is.

Use the same technique as before.

Nigel wrote:

Hi Gary

The macro worked but only removed/changed one of the pair of boxes. Running
the code again does nothing. Sorry!

"Gary''s Student" wrote:

Now enter and run this small macro:

Sub boxkiller()
For Each r In ActiveSheet.UsedRange
r.Value = Replace(r.Value, Chr(13), "^")
Next
End Sub



It will change all the "boxes" into ^
We can then use Text to Columns with the ^ as a separator:


Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Gary''s Student - gsnu200779


"Nigel" wrote:

Hi Gary

Ok I've done that and the answer is 13

"Gary''s Student" wrote:

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"







--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Text to columns

Hi Dave

I've just done that, character was "10", altered the macro and hey presto.
Thanks Dave and Gary, brilliant!

"Dave Peterson" wrote:

Time to find out what that other character is.

Use the same technique as before.

Nigel wrote:

Hi Gary

The macro worked but only removed/changed one of the pair of boxes. Running
the code again does nothing. Sorry!

"Gary''s Student" wrote:

Now enter and run this small macro:

Sub boxkiller()
For Each r In ActiveSheet.UsedRange
r.Value = Replace(r.Value, Chr(13), "^")
Next
End Sub



It will change all the "boxes" into ^
We can then use Text to Columns with the ^ as a separator:


Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Gary''s Student - gsnu200779


"Nigel" wrote:

Hi Gary

Ok I've done that and the answer is 13

"Gary''s Student" wrote:

Some detective work is required:

1. copy a typical item into an unused cell, say Z100
2. using the fomula bar, remove all characters except for a single small
square
3. In Z101 enter:
=CODE(Z1)

Once we know the code, we can change it into something Text to Columns can
use.
--
Gary''s Student - gsnu200779


"Nigel" wrote:

I have exported a table from MS Access to Excel to be able to use it as a
mailing list. When I try to convert text to columns I am unable to enter the
text delimiter as it is some sort of white square, well in fact there are two
squares together. Can any one help?
I've pasted a sample here but it shows without the squares and the text has
wrapped.

"Beech House
Witham Park
Waterside South"







--

Dave Peterson

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
Combining Text from 2 Columns into 1 then Deleting the 2 Columns sleepindogg Excel Worksheet Functions 5 September 19th 08 12:36 AM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM
merge text from 2 columns into 1 then delete the old 2 columns sleepindogg Excel Worksheet Functions 4 March 30th 06 07:25 PM
Excel is automatically doing "text to columns" upon paste text. robert10000 Excel Discussion (Misc queries) 1 June 15th 05 07:49 PM
Linking text columns with text and data columns Edd Excel Worksheet Functions 0 March 17th 05 04:23 PM


All times are GMT +1. The time now is 02:39 PM.

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"