FPHTMLTableCell Object
FPHTMLTableCell Multiple objects |
Represents a TD element in an HTML document. See also the IHTMLTableCell object.
Using the FPHTMLTableCell object
Use the cells property of the FPHTMLTableRow object to return an IHTMLElementCollection collection that represents a collection of all the TD elements in a row in a table. Use the Item method to return an FPHTMLTableCell object that accesses a specific TD element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first TD element in the first row in the first table in the active document.
Dim objTable As FPHTMLTable
Dim objRow As FPHTMLTableRow
Dim objCell As FPHTMLTableCell
Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objRow = objTable.rows(0)
Set objCell = objRow.cells(0)
To return a reference to a specific cell, use the cellIndex property of the FPHTMLTableCell object. You can add or delete cells using the insertCell and deleteCell methods. To change or return the contents of a particular cell, use the innerHTML or innerText property.
Properties | accessKey Property | Align Property | all Property | background Property | bgColor Property | borderColor Property | borderColorDark Property | borderColorLight Property | cellIndex Property | children Property | className Property | clientHeight Property | clientLeft Property | clientTop Property | clientWidth Property | colSpan Property | Document Property | filters Property | height Property | id Property | innerHTML Property | innerText Property | isTextEdit Property | lang Property | language Property | noWrap Property | offsetHeight Property | offsetLeft Property | offsetParent Property | offsetTop Property | offsetWidth Property | onafterupdate Property | onbeforeupdate Property | onblur Property | onclick Property | ondataavailable Property | ondatasetchanged Property | ondatasetcomplete Property | ondblclick Property | ondragstart Property | onerrorupdate Property | onfilterchange Property | onfocus Property | onhelp Property | onkeydown Property | onkeypress Property | onkeyup Property | onmousedown Property | onmousemove Property | onmouseout Property | onmouseover Property | onmouseup Property | onresize Property | onrowenter Property | onrowexit Property | onscroll Property | onselectstart Property | outerHTML Property | outerText Property | parentElement Property | parentTextEdit Property | recordNumber Property | rowSpan Property | scrollHeight Property | scrollLeft Property | scrollTop Property | scrollWidth Property | sourceIndex Property | style Property | tabIndex Property | tagName Property | title Property | vAlign Property | width Property
Methods | addFilter Method | blur Method | click Method | contains Method | createControlRange Method | focus Method | getAttribute Method | insertAdjacentHTML Method | insertAdjacentText Method | removeAttribute Method | removeFilter Method | scrollIntoView Method | setAttribute Method | toString Method
Events | onafterupdate Event | onbeforeupdate Property | onblur Event | onchange Event | onclick Event | ondataavailable Event | ondatasetchanged Event | ondatasetcomplete Event | ondblclick Event | ondragstart Event | onerrorupdate Event | onfilterchange Event | onfocus Event | onhelp Event | onkeydown Property | onkeypress Event | onkeyup Event | onmousedown Event | onmousemove Event | onmouseout Event | onmouseover Event | onmouseup Event | onresize Event | onrowenter Event | onrowexit Event | onscroll Event | onselect Event | onselectstart Event
Parent Objects
Child Objects | IHTMLElement Object | IHTMLFiltersCollection Object | IHTMLStyle Object