Login | |
|
 |
RE: Replace problem - 6/4/2008 12:14:57 AM
|
|
 |
|
| |
ebgreen
Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
|
Your problem is most likely related to the double quoting in your replace function. Take the string that you are trying to do the replacement with and MsgBox it so that you can see if it looks right.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Replace problem - 6/4/2008 7:53:52 PM
|
|
 |
|
| |
TKS
Posts: 187
Score: 0
Joined: 5/16/2008
Status: offline
|
quote:
ORIGINAL: ebgreen Your problem is most likely related to the double quoting in your replace function. Take the string that you are trying to do the replacement with and MsgBox it so that you can see if it looks right. I know, but the function can't work without the double quotes, so if I take them out, I'm at a loss... what do you do in a case like this? -TKS
|
|
| |
|
|
|
 |
RE: Replace problem - 6/5/2008 12:15:31 AM
|
|
 |
|
| |
ebgreen
Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
|
You don't take them out you use double and triple double quotes (or personally I use Chr(34)) so that the string that you build has the double quotes in it where it needs to be.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Replace problem - 6/8/2008 10:47:31 AM
|
|
 |
|
| |
TKS
Posts: 187
Score: 0
Joined: 5/16/2008
Status: offline
|
quote:
ORIGINAL: ebgreen You don't take them out you use double and triple double quotes (or personally I use Chr(34)) so that the string that you build has the double quotes in it where it needs to be. Hey ebgreen, Thanks for the help. -TKS
|
|
| |
|
|
|
|
|