View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
musicgold[_3_] musicgold[_3_] is offline
external usenet poster
 
Posts: 4
Default Accessing Message Editor Of Web Based Email

Hi All,

I am trying to fill out my yahoo email's 'Compose email' Form using VBA. I
have a workbook with a list of email addresses and text messages to be send.
I am primarily using getElementsByTagName(), and able to open a new yahoo
page, log in, create a new email, populate the addressfields,and subject
field.

However, I am not able to write anything in the message editor ( the part
where we write the actual message). The following is a part of the HTML code
related to the message editor. Please suggest what I should do? Thanks. MG.

Code:
 
<div id="RTEContainer" style="position:relative;top=0px;left=0px;" width="100%
"
<textarea name="Body" id="bodyfield" style="display:none;"</textarea
<script type="text/javascript"

		var editor = new RTEEditor(idGenerator);
             	editor.SetLocation("ca");
		editor.SetIconVersion("1");
                         editor.SetFarmPath("
http://ca.f309.mail.yahoo.com/ym");
    		editor.SetSpellCheck(true);
    		editor.SetSpellCheckCB(SpellCheck_Click);
	             editor.Instantiate();
</script </div <input type=hidden name=Format id=Format value="html"