Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy contenst of a cell into a string

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(B 3);;;;;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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Copy contenst of a cell into a string

Try it this way using ampersand symbols (&) to link the quoted
(non-changing) text together...

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

--
Rick (MVP - Excel)


"AMHodgetts" wrote in message
...
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(B 3);;;;;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
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
Search Range for string, then copy that cell to another worksheet Shelly Excel Programming 1 February 21st 07 01:37 AM
Copy a string text to cell if another cell not empty Pasmatos Excel Discussion (Misc queries) 0 November 25th 05 03:54 PM
IN AN IF FORMULA COPY STRING OF DATA IF A CELL IS CORRECT Might also be another tricky formula Setting up and Configuration of Excel 1 October 12th 05 09:21 PM
A Macro to replace a string in a cell with a string from another cell??? Plica05 Excel Programming 2 August 16th 05 09:23 AM
Create a formula into a String then assign string to a cell Myrna Larson[_2_] Excel Programming 6 August 23rd 03 09:42 PM


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