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

Hi,

I have a unique identifier in the format:

ABC-R-<number

Where only <number changes .

As part of a search capability, the user is able to enter the specific value
of <number that they are looking for - this is in an adjacet cell to the
ABC-R- text.

What I want to do is concatenate ABC-R- and the user-defined <number then
pass it to a String which I can then use to search the data arrays. What is
the format for this, or can't I do it?

If not, any suggestions on how I can pass a user-defined value to a variable?

TIA

Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Passing values to a string

Maybe

mystring = Range("A1").Value & Range("B1").Value

Mike

"Risky Dave" wrote:

Hi,

I have a unique identifier in the format:

ABC-R-<number

Where only <number changes .

As part of a search capability, the user is able to enter the specific value
of <number that they are looking for - this is in an adjacet cell to the
ABC-R- text.

What I want to do is concatenate ABC-R- and the user-defined <number then
pass it to a String which I can then use to search the data arrays. What is
the format for this, or can't I do it?

If not, any suggestions on how I can pass a user-defined value to a variable?

TIA

Dave

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default Passing values to a string - PLEASE IGNORE

I've worked it out, thankx

"Risky Dave" wrote:

Hi,

I have a unique identifier in the format:

ABC-R-<number

Where only <number changes .

As part of a search capability, the user is able to enter the specific value
of <number that they are looking for - this is in an adjacet cell to the
ABC-R- text.

What I want to do is concatenate ABC-R- and the user-defined <number then
pass it to a String which I can then use to search the data arrays. What is
the format for this, or can't I do it?

If not, any suggestions on how I can pass a user-defined value to a variable?

TIA

Dave

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
Passing a string to excel from a C app Rob Y Excel Programming 3 August 6th 08 05:17 PM
Passing Query String into MS Excel napval Excel Programming 0 June 20th 07 10:19 PM
Passing a String in Array to Range as String [email protected] Excel Programming 2 September 1st 04 01:13 AM
string passing to DLL Christoph Wirz Excel Programming 1 February 20th 04 02:40 PM
PASSING A STRING VALUE Sirron Excel Programming 2 August 26th 03 06:40 PM


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