Solved

Replace Multi-Line String in vb6

Posted on 2013-01-05
4
634 Views
Last Modified: 2013-01-05
I want to replace this in my vb6 project...there are over 150 of them but it looks like the "Replace" function only works for a single line...:

Else

End If
0
Comment
Question by:Bob Schneider
  • 2
4 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 38747180
You left out the code/picture(?).
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 500 total points
ID: 38747197
@MartinLiss
I believe that the else end if is the text to be replaced.
 
@BobbaBuoy
This may help.
and this certainly will broaden your horizons.
0
 

Author Comment

by:Bob Schneider
ID: 38747209
No I just want to  get rid of a multi-line code snippet using "Replace".  No real code to attach.
0
 

Author Closing Comment

by:Bob Schneider
ID: 38747213
Thanks!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DO Loop not working 4 72
VB6 add a minute to the date time value 8 61
Problem to skip loop 6 54
Create Files based on Cell Values in a Range in Excel 12 15
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now