Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dg dg is offline
external usenet poster
 
Posts: 15
Default remove spaces in linked worksheet object

I am linking worksheet objects (accounting format) as unformatted unicode
text into a word document so that the document is updated with the worksheet.
But, the link has a space (*) before and after the # amount, *$X,XXX*, can I
remove the *'s?

Thank you,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 791
Default remove spaces in linked worksheet object

you can do it by placing the ~ before your * when doing replace like so:

Replace ~*
with nothing don't even use the space bar.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"dg" wrote:

I am linking worksheet objects (accounting format) as unformatted unicode
text into a word document so that the document is updated with the worksheet.
But, the link has a space (*) before and after the # amount, *$X,XXX*, can I
remove the *'s?

Thank you,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dg dg is offline
external usenet poster
 
Posts: 15
Default remove spaces in linked worksheet object

here is what is happening in word when I paste the excel link
.. . . revenue earned was *$4,000*, respectively . . .
the * represent spaces that are part of the excel link itself, can they be
removed so that my document reads
.. . . revenue earned was $4,000, respectively . . .

Thanks again,
dg


"Michael" wrote:

you can do it by placing the ~ before your * when doing replace like so:

Replace ~*
with nothing don't even use the space bar.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"dg" wrote:

I am linking worksheet objects (accounting format) as unformatted unicode
text into a word document so that the document is updated with the worksheet.
But, the link has a space (*) before and after the # amount, *$X,XXX*, can I
remove the *'s?

Thank you,

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default remove spaces in linked worksheet object

=--TRIM(A1)


"dg" wrote:

here is what is happening in word when I paste the excel link
. . . revenue earned was *$4,000*, respectively . . .
the * represent spaces that are part of the excel link itself, can they be
removed so that my document reads
. . . revenue earned was $4,000, respectively . . .

Thanks again,
dg


"Michael" wrote:

you can do it by placing the ~ before your * when doing replace like so:

Replace ~*
with nothing don't even use the space bar.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"dg" wrote:

I am linking worksheet objects (accounting format) as unformatted unicode
text into a word document so that the document is updated with the worksheet.
But, the link has a space (*) before and after the # amount, *$X,XXX*, can I
remove the *'s?

Thank you,

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dg dg is offline
external usenet poster
 
Posts: 15
Default remove spaces in linked worksheet object

I have tried TRIM, but it still shows up with a space before and after, since
it's part of a document, i need to be able to have punctuation i.e. a comma
directly after the number, any other suggestions are very appreciated.

"Teethless mama" wrote:

=--TRIM(A1)


"dg" wrote:

here is what is happening in word when I paste the excel link
. . . revenue earned was *$4,000*, respectively . . .
the * represent spaces that are part of the excel link itself, can they be
removed so that my document reads
. . . revenue earned was $4,000, respectively . . .

Thanks again,
dg


"Michael" wrote:

you can do it by placing the ~ before your * when doing replace like so:

Replace ~*
with nothing don't even use the space bar.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"dg" wrote:

I am linking worksheet objects (accounting format) as unformatted unicode
text into a word document so that the document is updated with the worksheet.
But, the link has a space (*) before and after the # amount, *$X,XXX*, can I
remove the *'s?

Thank you,



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
How can i remove spaces? Lion2004 Excel Discussion (Misc queries) 1 March 9th 07 11:57 AM
how do I remove leading spaces and leave the remianing spaces w Debi Excel Worksheet Functions 6 February 28th 07 03:29 PM
remove tail spaces RichHoughton Excel Worksheet Functions 2 August 23rd 06 03:52 PM
How do I remove spaces lovebaby Excel Discussion (Misc queries) 5 October 29th 05 02:08 PM
How do I remove empty chart plots from linked worksheet charts Lee IT Charts and Charting in Excel 3 January 31st 05 04:31 PM


All times are GMT +1. The time now is 05:01 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"