itsallgood
01-25-2013, 06:18 AM
Hi guys,
I'm having a problem with the following line:
Call ie.Document.parentWindow.execScript("tinyMCE.activeEditor.setContent('" & myVar & "');", "JavaScript")
if id do this: myVar = "hello all!" -- it works fine.
if i try this:
Selection.WholeStory
Selection.Copy
myVar = Selection.Text
I get an error - So all i can think is that Selection.Text is not a string, or it is wrapped in brackets.
Can anyone please help?
Thanks for reading! :bow:
:beerchug:
I'm having a problem with the following line:
Call ie.Document.parentWindow.execScript("tinyMCE.activeEditor.setContent('" & myVar & "');", "JavaScript")
if id do this: myVar = "hello all!" -- it works fine.
if i try this:
Selection.WholeStory
Selection.Copy
myVar = Selection.Text
I get an error - So all i can think is that Selection.Text is not a string, or it is wrapped in brackets.
Can anyone please help?
Thanks for reading! :bow:
:beerchug: