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!
  • Students Click Here

*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

Creating Context Menus in VBA

Creating Context Menus in VBA

Creating Context Menus in VBA


Anyone have any examples how to create a context menu and add items to it in Attachmate VBA ?

RE: Creating Context Menus in VBA

Welcome to Tek Tips.

What's the level of context, Screen or something more granular?

I've never done such code in this context, but I have in Excel, where determining the context (column, row, cell, chart element etc) is fairly easy to determine.

RE: Creating Context Menus in VBA


I have 295 Attachmate Sessions files that I need to use the same Context in, so It will be like 20 different Menu Items that will be created

Once Itc reated for one of the sessions I can automate buidling it for the rest ( Just a porcess of opening each session file and applying the logic to it)


RE: Creating Context Menus in VBA

Don't know what your menu requirements are, but I'd think in terms of a menu builder procedure that would take argument(s) sufficient to describe the context.

RE: Creating Context Menus in VBA


Im looking to get example code that will show how to create the menu and add items to it.

I've not been able to figure it out in Attachmate.

RE: Creating Context Menus in VBA

There are some examples you might be able to use here or in forum99: AttachMate solutions.

Pick some code, modify it and see what happens.

RE: Creating Context Menus in VBA

OK what am i missing? I have found no code segements here in this forumn that deal with Context Menus, or in the Link in your reply.

RE: Creating Context Menus in VBA

Menues. I said nothing about context menus. A menu is a menu. Content just depends on you screen context.

So a building a menue is a great place to start.

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