Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Extra Host Options with VBA 1

Status
Not open for further replies.

jazznaura

Technical User
Jul 9, 2008
5
GB
hi all,

Need help figuring out the correct syntax (Excel vba) for the below property, i cant find an example anywhere :(
My object browser is working (in excel) but crashes when i try to access the help files.

Property Lines As Integer
Member of EXTRA.ExtraHostOptions
Returns or sets the number of lines on a page


I have tried the follow to no avail.

System.ExtraHostOptions.Lines = 25
System.Lines = 25
ExtraHostOptions.Lines = 25
System.HostOptions.Lines = 25
Sess0.ExtraHostOptions.Lines
Sess0.Lines = 25


i'm sure its something obvious but my mind has gone blank ;)
any help would be great.

thanks
jazznaura
 
Have you tried to make a HostOptions Object first?

Doing something like this should create your HostOptions object, and then you should be able to use the Lines function.
Code:
Dim Hostoption as Object
Set Hostoption = Sess0.Screen.HostOptions

Lakare
 
thats great Lakare worked a treat, thanks very much.

jazznaura.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top