Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Getting the caption from a HTMLSubmit button

On Feb 17, 10:27*am, AB wrote:
Have you tried
value=
property?

Or read the
InnerText
property as a string and then work with the string?

On Feb 17, 9:34*am, Harrison Hill wrote:



On Feb 16, 5:38*pm, GS wrote:


Harrison Hill wrote on 2/16/2011 :


Does anyone have a link to the properties of the HTMLSubmit button
control?


A simple obj.caption doesn't seem to work.


TIA


What's the HTMLSubmit control? Is this in v12 or higher? If so, is this
what you want?


* Application.CommandBars.ExecuteMSO("FilePublishAsW ebPage")


--
Garry


Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


I don't want to fire up the button, I just want to read the text that
is in its centre. It is one of a large number of buttons on a webite,
of which this is one:


Name: HTMLSubmit1
Encoding: application/x-www-form-urlencoded
HTMLName: _id144:results:0:_id159
Caption:19/2011/0162


(according to Excel 2000 "Properties")


It is that Caption I want to read


"InnerText" I hadn't thought of, but it isn't that. It isn't "Value"
or "Text". A "Record Macro" of the text being edited looks like this
(no mention of the edit itself):

Sub Macro1()
ActiveSheet.Shapes("Control 1").Select
Selection.Verb Verb:=xlPrimary
End Sub

Nor is it "Verb" or "Characters" or anything to do with "Interior".

In the unlikely event you would like to see one of these buttons, they
are the left hand "Data" column if you insert two dates into this
website. Paste a few rows into Excel, and the button forms thus
cunningly "hiding" the data - you can look at it but you cannot
process it!

http://planning.denbighshire.gov.uk/...am=lg.Planning
Reply
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
Set Button Caption Nigel Excel Programming 1 February 2nd 09 09:58 PM
How to set up caption on a button at startup? [email protected] Excel Programming 6 November 21st 07 11:01 PM
Copy button caption John Pierce Excel Programming 2 August 16th 07 04:58 PM
Option button caption Buce Roberson Excel Programming 1 August 26th 04 02:58 PM
Caption of a button Dr_Phil Excel Programming 4 May 4th 04 09:13 PM


All times are GMT +1. The time now is 06:42 PM.

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"