Solved

Replacing (2)

Posted on 2003-11-19
2
211 Views
Last Modified: 2010-05-01
Since noone answered my previous question because they couldnt get points any more I made a new question.
Private Sub command2_click()
Text2.Text = Replace(Text1.Text, "A", "4")
Text2.Text = Replace(Text1.Text, "B", "8")
Text2.Text = Replace(Text1.Text, "C", "<")
End Sub
Doesnt work. Any ideas? (Note: Only "C" to "<" works)
0
Comment
Question by:kalaka
2 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 30 total points
ID: 9783043
grr..

Private Sub command2_click()
Text2.Text = Replace(Text1.Text, "A", "4")
Text2.Text = Replace(Text2.Text, "B", "8")
Text2.Text = Replace(Text2.Text, "C", "<")
End Sub

LOOK CLOSELY, IT'S DIFFERENT!!!
0
 

Author Comment

by:kalaka
ID: 9783319
Hehe.... sorry ^^ More points for you then
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question