Issue when I insert several spaces on a line.


J

joe

I have a 2000 character long string that has about 500 spaces in the very
beginning of the string. So basically I have 500 spaces and then 1500
characters after that. When I copy this 2000 characters from Notepad into MS
Word 2003 (with SP3), the 500 spaces does not do a line-wrap and they go
beyond the page. The 500 space characters are there but they are beyond the
page !!

If I put my cursor on the first space character and then go right using the
right-arrow key, the cursor disapears as it goes beyond the page boundry. If
I keep holding the right-arrow key for a long time, the cursor does return to
line 2 where the first characters start (501 character position).

I do have the page set to 8.5 x 11.

You can duplicate this by just holding down the space-bar and you will see
that the cursor runs out of the page...until you hit any character, at that
instant the cursor come back to the next line and you will see the character
you typed.

Any ideas? Thanks in advance.

Joe
 
Ad

Advertisements

P

Peter A

I have a 2000 character long string that has about 500 spaces in the very
beginning of the string. So basically I have 500 spaces and then 1500
characters after that. When I copy this 2000 characters from Notepad into MS
Word 2003 (with SP3), the 500 spaces does not do a line-wrap and they go
beyond the page. The 500 space characters are there but they are beyond the
page !!

If I put my cursor on the first space character and then go right using the
right-arrow key, the cursor disapears as it goes beyond the page boundry. If
I keep holding the right-arrow key for a long time, the cursor does return to
line 2 where the first characters start (501 character position).

I do have the page set to 8.5 x 11.

You can duplicate this by just holding down the space-bar and you will see
that the cursor runs out of the page...until you hit any character, at that
instant the cursor come back to the next line and you will see the character
you typed.

Any ideas? Thanks in advance.

Joe

My idea is that you do not need 500 spaces in any string.
 
T

Tony Jollans

That is the way Word normally formats multiple spaces. You can override it
by going to Tools > Options > Compatibility tab and checking "Wrap trailing
spaces to next line".
 
J

Jean-Guy Marcil

joe said:
I have a 2000 character long string that has about 500 spaces in the very
beginning of the string. So basically I have 500 spaces and then 1500
characters after that. When I copy this 2000 characters from Notepad into MS
Word 2003 (with SP3), the 500 spaces does not do a line-wrap and they go
beyond the page. The 500 space characters are there but they are beyond the
page !!

If I put my cursor on the first space character and then go right using the
right-arrow key, the cursor disapears as it goes beyond the page boundry. If
I keep holding the right-arrow key for a long time, the cursor does return to
line 2 where the first characters start (501 character position).

I do have the page set to 8.5 x 11.

You can duplicate this by just holding down the space-bar and you will see
that the cursor runs out of the page...until you hit any character, at that
instant the cursor come back to the next line and you will see the character
you typed.

Tools > Options... Compatibility tab > check "Wrap trailing spaces to next
line"

But why would you want to display 500 spaces?!?
 
Ad

Advertisements

J

joe

Jean-Guy Marcil,

Thank you. That worked.

I am documenting some legal paperwork that requires me to copy and paste
EXACT data, down to the spaces, commas, & periods, which is why there are so
many spaces that needs to copied over into my Word document.

Joe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top