PC Review


Reply
Thread Tools Rate Thread

Concatenate Text in Visual Basic

 
 
daniroy@gmail.com
Guest
Posts: n/a
 
      15th Dec 2006
Hello there,
I need to aggregate two text as "EUR" and "GBP" to create a third text
as "EURGBP".
Here is the code I am using now. CurrencyCode = "Currency1Currency2" in
Locals window, in place of "EURGBP". Any ideas? Kind regards to
everybody, Daniel

Sub Convert_Figures()

Dim Currency1 As Variant
Dim Currency2 As Variant
Dim CurrencyCode As Variant

For i = 2 To Last_Row(Sheets("Stocks").Columns("A:A")) + 1
Currency1 = Sheets("Characteristics").Range("G" & i)
Currency2 = Sheets("Characteristics").Range("H" & i)
CurrencyCode = "Currency1" & "Currency2"

Next i

End Sub

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text replace - do I need Visual Basic? SimoninParis Microsoft Powerpoint 4 14th Jul 2008 11:41 PM
Learning curve for Visual Basic 6 programmers moving to Visual Basic.net Chris Asaipillai Microsoft Dot NET 8 20th May 2007 06:24 PM
Concatenate Text in Visual Basic daniroy@gmail.com Microsoft Excel Programming 4 15th Dec 2006 05:16 PM
Text manipulation with Visual Basic jip Microsoft Excel Programming 3 20th Oct 2004 02:38 PM
Visual Basic Text Functions Moiz Microsoft Excel Programming 3 18th Aug 2004 02:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:25 AM.