Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Cancatenate string

The function you are needing is not called "cancatenate"
for a string, what you need is how to extract part of a
string (concatenate means you want to put two string
together)

if your string is on the variable X, the you can extract
with something like this:
myName=mid(X,1,Instr(Instr(1, X, ".")+1, X, ".")-1)


Francisco Mariscal
fcomariscal at hotmail dot com



-----Original Message-----
Hi There,

I am writing vba code in macro, How could I concatenate a
string where I want only the middle text of the string.
Something like this: "This is my string sample,
XCMWTC.MMMTTT.KKKT." and I wanted only

the "XCMWTC.MMMTTT"
and I will make this as my filenme. How could I do this?

Please help me. thanks.
August

.

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
Change 3 letter text string to a number string Pete Excel Discussion (Misc queries) 3 December 31st 07 07:47 PM
Maybe cancatenate Wanna Learn Excel Discussion (Misc queries) 9 December 12th 06 02:30 PM
How do I replace last numeric string from a alphanumeric string? Christy Excel Discussion (Misc queries) 3 August 11th 06 12:17 AM
Splitting a text string into string and number mcambrose Excel Discussion (Misc queries) 4 February 21st 06 03:47 PM
to search for a string and affect data if it finds the string? Shwaman Excel Worksheet Functions 1 January 11th 06 12:56 AM


All times are GMT +1. The time now is 02:22 AM.

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

About Us

"It's about Microsoft Excel"