Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Set Extra Host Options with VBA

Set Extra Host Options with VBA

Set Extra Host Options with VBA

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.Lines = 25

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


RE: Set Extra Host Options with VBA

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.


Dim Hostoption as Object
Set Hostoption = Sess0.Screen.HostOptions 


RE: Set Extra Host Options with VBA

thats great Lakare worked a treat, thanks very much.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close