Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
TOM TOM is offline
external usenet poster
 
Posts: 47
Default Not sure of what to call it accept (Un - concatenating)

Hi everyone

below I have a bit of code that gets changed constantly and places a string value in a cell. To get to this point the user needs to go through several userforms. There are 400 possible locations for this bit of code and 1,000s of combinations it can equal.

If OptionButton1.Value = True The
strcyl = OptionButton1.Captio
ActiveCell = "-" & strsph & "x" & strcy
End I

Example of the result in cell B5: -1.25x-1.0

My question is, is there a way to pull this apart at a later time

I'm looking too grab each of the four components above and place them in four different cells in another workbook

I appreciate any help that anyone can give

Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Not sure of what to call it accept (Un - concatenating)

Hi Tom
depens on your chosen delimiters. You may have a look at the Split
method in the VBA help. But you should choose ONE delimiter for all
parts.
alternatively use a combination of Left, Mid and Right together with
InStr

--
Regards
Frank Kabel
Frankfurt, Germany


Tom wrote:
Hi everyone,

below I have a bit of code that gets changed constantly and places a
string value in a cell. To get to this point the user needs to go
through several userforms. There are 400 possible locations for this
bit of code and 1,000s of combinations it can equal.


If OptionButton1.Value = True Then
strcyl = OptionButton1.Caption
ActiveCell = "-" & strsph & "x" & strcyl
End If

Example of the result in cell B5: -1.25x-1.00

My question is, is there a way to pull this apart at a later time?

I'm looking too grab each of the four components above and place them
in four different cells in another workbook.

I appreciate any help that anyone can give.

Tom


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
concatenating TED Excel Worksheet Functions 3 February 13th 09 01:03 AM
concatenating Yosh Excel Discussion (Misc queries) 7 February 7th 07 09:03 PM
Concatenating % confused Excel Discussion (Misc queries) 2 September 21st 06 03:49 AM
Call Center Management: How to calculate 'cost per call' Denniso6 Excel Discussion (Misc queries) 2 June 25th 06 05:01 PM
Concatenating Metalteck New Users to Excel 10 May 4th 05 01:01 AM


All times are GMT +1. The time now is 11:21 PM.

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"