Asked by duncanb7
at 2024-10-28 03:49:00
Point:250 Replies:5 POST_ID:828399USER_ID:11059
Topic:
Visual Basic Programming;Hypertext Markup Language (HTML);JavaScript
I just solved the question that is just how to search a text location in example.htm
and insert other new text code rigth below the search location in html file. Please
see the following code area for Function searchtext2(), Now I would like to modify
searchtext2() for a new function that is replace a text right after first character position in search a text location in html by VBA coding, For example, search ("shLink")[0] and will be reaplced by ("shLink"[g_iSh]
Example.HTM
==================================
"<frame src=""+document.all.item("shLink")[0].href+"" name="frSheet" noresize>"+
Plese advise
Duncan
and insert other new text code rigth below the search location in html file. Please
see the following code area for Function searchtext2(), Now I would like to modify
searchtext2() for a new function that is replace a text right after first character position in search a text location in html by VBA coding, For example, search ("shLink")[0] and will be reaplced by ("shLink"[g_iSh]
Example.HTM
==================================
"<frame src=""+document.all.item("shLink")[0].href+"" name="frSheet" noresize>"+
Plese advise
Duncan