I believe that's impossible in vb6, maybe a better programmer than me would
know.
On Mon, May 12, 2008 at 10:00 AM, angeladerekjenny < p_l_reed%40hotmail.com">p_l_reed
hotmail.com>
wrote:
> Hi,
>
> Ideally, I would like to be able to replace:
> "Option1(0)"
>
> with:
> a$
>
> where:
> a$="Option1(0)"
>
> I could then make up a$ by, for example:
> a$="Option"+str(x%)+"(0)"
> and generate a range of a$ values depening on x%
>
> However, this does not work as if I use the above for a$ and say:
> If a$ = True Then End
>
> I get a type mismatch error.
>
> Can anyone suggest a way of overcoming this such that I can make up
> a string to represent "Option1(0)", please?
>
> Many thanks,
>
> Peter
>
>
>
>
> ------------------------------------
>
>
> '// =======================================================
> Rules : http://ReliableAnswers.com/List/Rules.asp
> Home : http://groups.yahoo.com/group/vbHelp/
> =======================================================
> Post : vbHelp%40yahoogroups.com">vbHelp
yahoogroups.com
> Join : vbHelp-subscribe%40yahoogroups.com">vbHelp-subscribe
yahoogroups.com
> Leave : vbHelp-unsubscribe%40yahoogroups.com">vbHelp-unsubscribe
yahoogroups.com
> '// =======================================================
> Yahoo! Groups Links
>
>
>
>
--
Don Roberts - don%40roberts.net">don
roberts.net
http://www.myspace.com/donroberts
[Non-text portions of this message have been removed]
.