![]() |
#1
|
|||
|
|||
![]()
Hi
Im using excel to get rgb values for colouring objects and would like to find a way of using coreldraw's VBA to convert a string with values in the format "127, 23, 250" (ie a string containing 3 numbers separated by 2 commas) to 3 separate variables each containing a numerical value. Help appreciated. nic Last edited by nic; 17-04-2016 at 05:01. |
#2
|
|||
|
|||
![]() Code:
Private Sub TestSplit() Dim Test As Variant Test = Split("127, 23, 250", ",") End Sub |
#3
|
|||
|
|||
![]()
Thanks Shark - really appreciate your help.
nic |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
string in form | runflacruiser | CorelDRAW/Corel DESIGNER VBA | 1 | 23-09-2009 01:31 |
WebBrowser class string | Keefster | CorelDRAW/Corel DESIGNER VBA | 1 | 09-04-2009 12:26 |
Page Size String | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 3 | 15-12-2006 14:21 |
Randomising a text string | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 3 | 07-05-2006 07:15 |
how can we get string from... | olympiatr | CorelDRAW/Corel DESIGNER VBA | 2 | 04-11-2004 02:39 |