Mepwnz2010
New Member
- Joined
- Aug 20, 2014
- Messages
- 9
I'm creating a macro to automate a webpage for work. Since its for work I cant link the URL but I can give the code for the text box.
I've filled out other text boxes on this same webpage using
And I'm trying to do the same thing, but this box seems to be some other type of program overlapped onto the webpage. Using the name I've got it to not give me an error, but the text isn't in the box after the macros done. I think its because this program is hidden but I'm not really sure.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><title>Rich text editor, 00NC0000004y1ygMAA, press ALT 0 for help.</title><base href="https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/" data-cke-temp="1" /><link type="text/css" rel=stylesheet href="/sCSS/31.0/sprites/1408634266000/Theme3/default/ie7/HtmlDetailElem.css"><link type="text/css" rel=stylesheet href="/sCSS/31.0/sprites/1408634266000/Theme3/default/ie7/CKEditor.css"><style type="text/css" data-cke-temp="1">img.cke_flash{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/flash/images/placeholder.png?t=3.6.2.15);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 80px;height: 80px;}
form{border: 1px dotted #FF0000;padding: 2px;}
img.cke_hidden{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/forms/images/hiddenfield.gif?t=3.6.2.15);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 16px !important;height: 16px !important;}
img.cke_iframe{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/iframe/images/placeholder.png?t=3.6.2.15);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 80px;height: 80px;}
ul,ol{ margin-left: 0px; padding-left: 40px;}
a.cke_anchor,a.cke_anchor_empty,a[name],a[data-cke-saved-name]{background:url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/link/images/anchor.gif?t=3.6.2.15) no-repeat left center;border:1px dotted #00f;padding-left:18px;cursor:auto;}a.cke_anchor_empty{display:inline-block;}img.cke_anchor{background:url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/link/images/anchor.gif?t=3.6.2.15) no-repeat left center;border:1px dotted #00f;width:16px;min-height:15px;height:1.15em;vertical-align:text-bottom;}
div.cke_pagebreak{background: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/pagebreak/images/pagebreak.gif?t=3.6.2.15) no-repeat center center !important;clear: both !important;width:100% !important; _width:99.9% !important;border-top: #999999 1px dotted !important;border-bottom: #999999 1px dotted !important;padding:0 !important;height: 5px !important;cursor: default !important;}
.cke_show_blocks p,.cke_show_blocks div,.cke_show_blocks pre,.cke_show_blocks address,.cke_show_blocks blockquote,.cke_show_blocks h1,.cke_show_blocks h2,.cke_show_blocks h3,.cke_show_blocks h4,.cke_show_blocks h5,.cke_show_blocks h6{background-repeat: no-repeat;background-position: top left;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.cke_show_blocks p{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_p.png);}.cke_show_blocks div{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_div.png);}.cke_show_blocks pre{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_pre.png);}.cke_show_blocks address{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_address.png);}.cke_show_blocks blockquote{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_blockquote.png);}.cke_show_blocks h1{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h1.png);}.cke_show_blocks h2{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h2.png);}.cke_show_blocks h3{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h3.png);}.cke_show_blocks h4{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h4.png);}.cke_show_blocks h5{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h5.png);}.cke_show_blocks h6{background-image: url(https://na8.salesforce.com/ckeditor/ckeditor-3.6.2/_source/plugins/showblocks/images/block_h6.png);}
.cke_show_borders table.cke_show_border,.cke_show_borders table.cke_show_border > tr > td, .cke_show_borders table.cke_show_border > tr > th,.cke_show_borders table.cke_show_border > tbody > tr > td, .cke_show_borders table.cke_show_border > tbody > tr > th,.cke_show_borders table.cke_show_border > thead > tr > td, .cke_show_borders table.cke_show_border > thead > tr > th,.cke_show_borders table.cke_show_border > tfoot > tr > td, .cke_show_borders table.cke_show_border > tfoot > tr > th{border : #d3d3d3 1px dotted}
html { _overflow-y: scroll; cursor: text; *cursor:auto;}
img, input, textarea { cursor: default;}</style></head><body id="00NC0000004y1ygMAA_rta_body"></html>******** id="cke_actscrpt" type="text/javascript" data-cke-temp="1">window.parent.CKEDITOR.tools.callFunction( 46, window );*********>
Code:
ie.document.all("00NC0000004ytz0").Value = ThisWorkbook.Sheets("sheet1").Range("a1")
And I'm trying to do the same thing, but this box seems to be some other type of program overlapped onto the webpage. Using the name I've got it to not give me an error, but the text isn't in the box after the macros done. I think its because this program is hidden but I'm not really sure.