iaccessible

  1. J

    Get IAccessible of UserForm control without reference

    I know we can get IAccessible of an object by first declaring a variable of type IAccessible and set it to the object we want the interface from, but that requires a reference to a TypeLib in VBE menu -> Tools ->References. Wondering if we can do that without reference and with API only. Ideally...
  2. Jaafar Tribak

    Grouping UserForms [Having userforms follow each other when moved around the screen]

    Hi, This is a vba code that hopefully accomplishes what the title of the thread says. Obviously, the forms must be modeless so that the user can freely move from one form to aanother. Problem is, using modeless forms makes this task difficult as we cannot subclass modeless forms to properly...
  3. Jaafar Tribak

    Excel Screen Reader Upon Navigating With The Mouse (with VBA alone)

    Hi all, This is an attempt to simulate the Windows built-in screen-reader narrator but, done with vba alone. The code is supposed to read-back the type of object currently under the mouse pointer and, if applicable, to read the object caption\text\value as well. The code lets you choose a...
  4. Jaafar Tribak

    TypeOf Operator - IAccessible Interface implementation

    Hi all, As you know, the TypeOf operator cheks if an object implements a certain interface so the following 2 codes return TRUE as expected : in a userform module: Private Sub UserForm_Click() MsgBox TypeOf Me Is IAccessible End Sub The same goes for this : Private Sub Test1() MsgBox...
  5. Jaafar Tribak

    Activate Ribbon-Tab Without XML or API calls

    Hi dear members, I just thought I would share with you here this very small and simple vba function that I recently wrote for switching ribbon tabs. Option Explicit Function ActivateRibbonTab(ByVal TabName As String) As Boolean Const CHILDID_SELF = 0&, NAVDIR_FIRSTCHILD = 7&, NAVDIR_NEXT...
  6. Jaafar Tribak

    Universal Mouse Wheel Scroll event ( Applicable to Form and its Controls)

    Workbook Demo Hi all , After much trial an error, I have come up with this generic mouse wheel scroll event :Public Sub OnScrollEvent(ByVal Obj As Object, ByVal WheelRotation As WHEEL_ROTATION, _ ByVal CtrlKey As CTRL_KEY_PRESS_STATE, ByVal X As Long, ByVal Y As...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top