A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copy/paste table cell content for execution on a terminal



 
 
Thread Tools Display Modes
  #1  
Old August 24th, 2004, 10:26 PM
JoAnn
external usenet poster
 
Posts: n/a
Default Copy/paste table cell content for execution on a terminal

We need to copy/paste material out of a document and pop
it into a terminal and run it.

We can successfully do this with content taken from a
simple WORD doc but when we copy/paste several lines of
text from within a table cell it doesn't work. We have to
grab one line at a time (vs. a block of information) then
have to add a carriage return/Enter from the terminal to
execute it.

Anyone have any idea why? And, more importantly, is there
some workaround for this (i.e. embed carriage returns in
the content contained in the table cell - format it
differently within the table cell?).

FYI ... the lines are already terminated in the table cell
(using a carriage return)and are not at the end of the
cell but in the middle.

Thanks for your help!
  #2  
Old August 25th, 2004, 06:45 AM
Pat Garard
external usenet poster
 
Posts: n/a
Default

G'Day JoAnn,

Forgive me for being pedantic, but there is scope for some
misunderstanding in your exposition.

For a 'copied string' to operate a terminal window immediately,
when pasted, it must be terminated with a Carriage Return (CR).

That it works with a "simple WORD doc" would indicate that
the 'copied string' is in fact a full (one-line) PARAGRAPH complete
with its paragraph mark (¶ = CR).

EXACTLY the same principal will apply within a Table. Please
note that the end of text marker in a cell is NOT a CR - you
must insert paragraph markers to ensure that each command
is a paragraph.

You may have more than one command (paragraph) per cell.

If the paragraph wraps within the cell, that will make no difference.
In the 'simple doc', you can force the text to wrap by (unnecessarily)
bringing in the right margin, and it will still work.
--
Regards,
Pat Garard
Australia

______________________________________

"JoAnn" wrote in message
...
We need to copy/paste material out of a document and pop
it into a terminal and run it.

We can successfully do this with content taken from a
simple WORD doc but when we copy/paste several lines of
text from within a table cell it doesn't work. We have to
grab one line at a time (vs. a block of information) then
have to add a carriage return/Enter from the terminal to
execute it.

Anyone have any idea why? And, more importantly, is there
some workaround for this (i.e. embed carriage returns in
the content contained in the table cell - format it
differently within the table cell?).

FYI ... the lines are already terminated in the table cell
(using a carriage return)and are not at the end of the
cell but in the middle.

Thanks for your help!



  #3  
Old August 25th, 2004, 01:39 PM
JoAnn
external usenet poster
 
Posts: n/a
Default

Hi, Pat-

Yes ... what you say is needed is what they are telling me=20
already exists -- the group of lines are already=20
terminated with the cr (=B6)within the table cell when=20
copied but the individual command lines are not being=20
executed on the terminal.

So ... I wanted to be sure there wouldn't be any reason=20
associated with a table that could cause this problem=20
(they say it happens all the time).

But now that I know for sure that it should work as long=20
as each line is terminated with a CR, I will go back to=20
them for a test copy and see if there is some other reason=20
Thanks for your help!
JoAnn


-----Original Message-----
G'Day JoAnn,

Forgive me for being pedantic, but there is scope for some
misunderstanding in your exposition.

For a 'copied string' to operate a terminal window=20

immediately,
when pasted, it must be terminated with a Carriage Return=20

(CR).

That it works with a "simple WORD doc" would indicate that
the 'copied string' is in fact a full (one-line)=20

PARAGRAPH complete
with its paragraph mark (=B6 =3D CR).

EXACTLY the same principal will apply within a Table.=20

Please
note that the end of text marker in a cell is NOT a CR -=20

you
must insert paragraph markers to ensure that each command
is a paragraph.

You may have more than one command (paragraph) per cell.

If the paragraph wraps within the cell, that will make no=20

difference.
In the 'simple doc', you can force the text to wrap by=20

(unnecessarily)
bringing in the right margin, and it will still work.
--=20
Regards,
Pat Garard
Australia

______________________________________

"JoAnn" wrote in=20

message=20
...
We need to copy/paste material out of a document and pop
it into a terminal and run it.

We can successfully do this with content taken from a
simple WORD doc but when we copy/paste several lines of
text from within a table cell it doesn't work. We have=20

to
grab one line at a time (vs. a block of information)=20

then
have to add a carriage return/Enter from the terminal to
execute it.

Anyone have any idea why? And, more importantly, is=20

there
some workaround for this (i.e. embed carriage returns in
the content contained in the table cell - format it
differently within the table cell?).

FYI ... the lines are already terminated in the table=20

cell
(using a carriage return)and are not at the end of the
cell but in the middle.

Thanks for your help!=20



.

  #4  
Old August 25th, 2004, 04:10 PM
JoAnn
external usenet poster
 
Posts: n/a
Default

Just adding an update to my earlier reply to Pat with new
information obtained from the end user ...

Verified that the table lines being copied/pasted are
terminated correctly (with a carriage return)and they are
including the last paragraph marker in the group when they
copy it. The copied text comes from the middle of the
table cell (not the end) so it shouldn't be grabbing some
kind of 'end of cell' marker.

If they paste it directly from the table cell into the
terminal -- it loses the crs/lfs and becomes all one
paragraph that cannot be executed.

If they paste it from the table into a blank Word
document, then copy/paste the exact same content without
any changes made to it(this time from the Word document)
into the terminal, it executes fine.

Any idea how to work around this? They need to have this
capability and would like keep using tables.

I'm researching all other possibilities -- i.e. corrupted
table cell but if anyone has any suggestions, I would
really appreciate it!

Thanks!
JoAnn

-----Original Message-----
We need to copy/paste material out of a document and pop
it into a terminal and run it.

We can successfully do this with content taken from a
simple WORD doc but when we copy/paste several lines of
text from within a table cell it doesn't work. We have

to
grab one line at a time (vs. a block of information) then
have to add a carriage return/Enter from the terminal to
execute it.

Anyone have any idea why? And, more importantly, is

there
some workaround for this (i.e. embed carriage returns in
the content contained in the table cell - format it
differently within the table cell?).

FYI ... the lines are already terminated in the table

cell
(using a carriage return)and are not at the end of the
cell but in the middle.

Thanks for your help!
.

  #5  
Old August 26th, 2004, 04:14 AM
Pat Garard
external usenet poster
 
Posts: n/a
Default

Hi JoAnne,

In some way or another, you are being misinformed.

It would be useful to WATCH THIS HAPPEN.

When you talk about a 'group' of lines, they must
EACH form a paragraph (in or out of a Table):

sort AnyFile AnyFile.sort ¶
mv AnyFile.sort AnyFile ¶
lp -d laser2 AnyFile ¶

When pasted into the terminal window, they will
operate in the manner of a batch file (I have done
this in the past).

I can see no reason why the stated procedure
would not work from a Table.
--
Regards,
Pat Garard
Australia

______________________________________


  #6  
Old August 26th, 2004, 01:57 PM
JoAnn
external usenet poster
 
Posts: n/a
Default

I agree ... this makes absolutely no sense ... something=20
has got to be wrong somewhere else. =20

Found out the user with the problem is running a lower=20
patch level of WORD -- hoping an update solves the problem.
I've asked another user to test it (with latest Word=20
version/patch installed).=20

Thanks for all your help! Will let you know if that=20
solves the problem.

-----Original Message-----
Hi JoAnne,

In some way or another, you are being misinformed.

It would be useful to WATCH THIS HAPPEN.

When you talk about a 'group' of lines, they must
EACH form a paragraph (in or out of a Table):

sort AnyFile AnyFile.sort =B6
mv AnyFile.sort AnyFile =B6
lp -d laser2 AnyFile =B6

When pasted into the terminal window, they will
operate in the manner of a batch file (I have done
this in the past).

I can see no reason why the stated procedure
would not work from a Table.
--=20
Regards,
Pat Garard
Australia

______________________________________


.

  #7  
Old August 26th, 2004, 10:46 PM
Pat Garard
external usenet poster
 
Posts: n/a
Default

Thanks JoAnne,

I'd appreciate knowing!

Keep at it!!
--
Regards,
Pat Garard
Australia

______________________________________


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complicated Databse w/many relationships Søren Database Design 7 July 13th, 2004 05:41 AM
Table of content (figures, tables) Eric General Discussion 3 July 9th, 2004 03:13 PM
COMPARE THE TWO TABLES Stefanie General Discussion 0 June 4th, 2004 04:36 PM
Convert a Cell Reference to Text Chuck Buker Worksheet Functions 6 September 22nd, 2003 05:04 PM


All times are GMT +1. The time now is 01:50 AM.


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