LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default HTML / web page processing


if you get any help ... I am serching for something similar - I need to
get the value currently selected in a html "select" control

the Html snipit looks like this"

<form
<pSelect Item<br
<SELECT NAME="Item" onChange="go()"
<OPTION VALUE="3" Item-3-description
<OPTION VALUE="1" Item-1-description
<OPTION VALUE="5" Item-5-description
<OPTION VALUE="4" Item-4-description
<OPTION SELECTED VALUE="2"product-2-description
</SELECT
</p
</form

? Word.Documents(1).Fields(1).Code.Text
HTMLCONTROL Forms.HTML:Select.1

The following has the entire html text
word.Documents(2).HTMLProject.HTMLProjectItems(1). Text
but I was hoping not to have to parse this since word seems to know its
a control.

Using excel :
?ActiveSheet.OLEObjects(1).progid
Forms.HTML:Select.1

ActiveSheet.OLEObjects(1).oletype = xlOLEControl

(documentation only referes to xlOLEType constants: xlOLELink or
xlOLEEmbed)

documentation for "OLE Programmatic Identifiers" includes information
for

ActiveX Controls, Microsoft Access, Microsoft Excel, Microsoft Graph
Microsoft Office Web Components, Microsoft Outlook, Microsoft
PowerPoint
Microsoft Word, ActiveX Controls

ActiveX Controls
To create the ActiveX controls listed in the following table, use the
corresponding OLE programmatic identifier.


To create this control Use this identifier
CheckBox Forms.CheckBox.1
ComboBox Forms.ComboBox.1

etc.

Idealy I would like to be able to determine the current selected item
and its associated Value(s)


--
markbpdx
------------------------------------------------------------------------
markbpdx's Profile: http://www.excelforum.com/member.php...o&userid=37610
View this thread: http://www.excelforum.com/showthread...hreadid=525928

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
How do I bookmark an HTML page? G.O. Excel Discussion (Misc queries) 0 July 16th 09 07:21 PM
How do I create a HTML text for my web page? Horseychic New Users to Excel 6 January 16th 06 07:57 PM
Excel < HTML Web page - How ? hkappleorange Excel Programming 2 September 10th 05 01:22 PM
saving as HTML page ALex Excel Discussion (Misc queries) 1 June 3rd 05 06:30 PM


All times are GMT +1. The time now is 01:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"