PC Review


Reply
Thread Tools Rate Thread

Copy contenst of a cell into a string

 
 
AMHodgetts
Guest
Posts: n/a
 
      29th May 2009
Hi,

I have the following text string

store
;S****Manager;;;mgrS****;v:\Storeids;mgrS****.id;;mail;mgrS****;;;;;Admins;;mgrS****;;;

I am trying to replace the 'store' and 'S****' with the contents of 2 other
cells. (basically trying to make my job easier)

The function I attempted to use was;

=(A3)
;(B3)Manager;;;(B3);v:\Storeids;mgr(B3).id;;mail(B3);;;;;Admins;;mgr(B3);;;

I have also tried changing this by putting quotes and & in at various (and
generally random) points, however all of my attempts have ended in complete
failure.

Before I end up tearing out all of my hear, would anybody be able to tell me
if what I am trying to do is even possible. If so - how?

Thanks

Ann
--
Ann Hodgetts
 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      29th May 2009
Try it this way using ampersand symbols (&) to link the quoted
(non-changing) text together...

=A3&CHAR(10)&";"&B3&"Manager;;;mg"&B3&";v:\Storeids;mgr"&B3&";;mail;mgr"&B3&";;;;;Admins;;mgr"&B3&";;;"

--
Rick (MVP - Excel)


"AMHodgetts" <(E-Mail Removed)> wrote in message
news:517F7BA1-12A6-45B2-88C0-(E-Mail Removed)...
> Hi,
>
> I have the following text string
>
> store
> ;S****Manager;;;mgrS****;v:\Storeids;mgrS****.id;;mail;mgrS****;;;;;Admins;;mgrS****;;;
>
> I am trying to replace the 'store' and 'S****' with the contents of 2
> other
> cells. (basically trying to make my job easier)
>
> The function I attempted to use was;
>
> =(A3)
> ;(B3)Manager;;;(B3);v:\Storeids;mgr(B3).id;;mail(B3);;;;;Admins;;mgr(B3);;;
>
> I have also tried changing this by putting quotes and & in at various (and
> generally random) points, however all of my attempts have ended in
> complete
> failure.
>
> Before I end up tearing out all of my hear, would anybody be able to tell
> me
> if what I am trying to do is even possible. If so - how?
>
> Thanks
>
> Ann
> --
> Ann Hodgetts


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If cell contatin string like .... copy in Offset mode ytayta555 Microsoft Excel Programming 2 23rd Apr 2010 11:10 PM
Search Range for string, then copy that cell to another worksheet =?Utf-8?B?U2hlbGx5?= Microsoft Excel Programming 1 21st Feb 2007 01:37 AM
Copy a string text to cell if another cell not empty =?Utf-8?B?UGFzbWF0b3M=?= Microsoft Excel Misc 0 25th Nov 2005 03:54 PM
IN AN IF FORMULA COPY STRING OF DATA IF A CELL IS CORRECT =?Utf-8?B?TWlnaHQgYWxzbyBiZSBhbm90aGVyIHRyaWNreSBm Microsoft Excel Setup 1 12th Oct 2005 09:21 PM
How can you copy selected cells when one cell contains a specified string? Jonzip Microsoft Excel Misc 1 24th Aug 2004 12:44 PM


Features
 

Advertising
 

Newsgroups
 


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