ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Why no hints after typing . (https://www.excelbanter.com/excel-programming/321421-why-no-hints-after-typing.html)

Mike NG

Why no hints after typing .
 
I have a webbrowser object embedded within Sheet1 (called WB)

In my code if I type WB.
I get offered a list of valid sub-parameters (Document being one of
them)
If I choose Document then type . again, I don't see the list of valid
sub-parameters for the next level down

I am particularly interested in the sub-parameters of Document.Links and
Document.Images

I can compile my code and guess the parameter below links, e.g.
..Document.Links(0).src - but I don't know until run time whether the
'src' parameter is valid or not

I have tried looking at this page
<http://msdn.microsoft.com/workshop/a...collections/li
nks.asp
This makes a reference to the href property, but nowhere can I find a
complete listing of the properties

Any help appreciated
--
Mike
Please post replies to newsgroup to benefit others
Replace dead spam with ntl world to reply by email

Rob van Gelder[_4_]

Why no hints after typing .
 
I added a control and looked at the definition of Document from the Object
Browser.
Document is defined as a plain object. The IDE doesn't know the
methods/parameters because it could be any sort of automation object.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Mike NG" wrote in message
...
I have a webbrowser object embedded within Sheet1 (called WB)

In my code if I type WB.
I get offered a list of valid sub-parameters (Document being one of them)
If I choose Document then type . again, I don't see the list of valid
sub-parameters for the next level down

I am particularly interested in the sub-parameters of Document.Links and
Document.Images

I can compile my code and guess the parameter below links, e.g.
.Document.Links(0).src - but I don't know until run time whether the 'src'
parameter is valid or not

I have tried looking at this page
<http://msdn.microsoft.com/workshop/a...collections/li
nks.asp
This makes a reference to the href property, but nowhere can I find a
complete listing of the properties

Any help appreciated
--
Mike
Please post replies to newsgroup to benefit others
Replace dead spam with ntl world to reply by email




Mike NG

Why no hints after typing .
 
On Mon, 24 Jan 2005 at 08:09:42, Rob van Gelder (Rob van Gelder
) wrote:
I added a control and looked at the definition of Document from the Object
Browser.
Document is defined as a plain object. The IDE doesn't know the
methods/parameters because it could be any sort of automation object.

Ah right. Many thanks
--
Mike
Please post replies to newsgroup to benefit others
Replace dead spam with ntl world to reply by email


All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com