+ Reply to Thread
Results 1 to 6 of 6

Excel 32 bit & 64bit mouse scroll

  1. #1
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    Excel 32 bit & 64bit mouse scroll

    Is it possible to change this so that it checks if the Excel version is 32bit & 64bit before continues
    Any help will be appreciated

    Please Login or Register  to view this content.
    Last edited by CobraLAD; 04-22-2016 at 08:36 AM.
    Regards
    LAD

  2. #2
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    Re: Excel 32 bit & 64bit mouse scroll

    I did not post all of the code, here it is
    Any help will be appreciated

    In a module
    Please Login or Register  to view this content.
    In a UserForm Module
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Excel 32 bit & 64bit mouse scroll

    There's more than just 'changing it so it checks...', it's a partial re-write. More info from Google: https://msdn.microsoft.com/en-us/lib.../gg264421.aspx

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Excel 32 bit & 64bit mouse scroll

    As it happens, I don't think your current code is correct. You're setting a low level hook so the structure is actually MSLLHOOKSTRUCT and not MOUSEHOOKSTRUCT.

    Anyway, for 64 and 32bit, this should work:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    Re: Excel 32 bit & 64bit mouse scroll

    Thank you rorya, much appreciated

  6. #6
    Registered User
    Join Date
    07-12-2021
    Location
    Mielec, Poland
    MS-Off Ver
    2016
    Posts
    1

    Re: Excel 32 bit & 64bit mouse scroll

    I also found it useful / thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to read custom props on closed file (64bit Win Server, 64bit Excel)
    By soundneedle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2015, 01:25 AM
  2. Replies: 1
    Last Post: 11-16-2013, 06:17 PM
  3. Replies: 3
    Last Post: 11-23-2012, 01:57 AM
  4. [SOLVED] using scroll mouse in excel 2003
    By Ally128 in forum Excel General
    Replies: 0
    Last Post: 11-11-2005, 06:15 PM
  5. [SOLVED] Scroll horizontaly with mouse, create same system used to scroll .
    By frederic in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-09-2005, 04:05 PM
  6. my mouse moves diagonally when i scroll on mouse?
    By BKMISHRA in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. [SOLVED] my mouse moves diagonally when i scroll on mouse?
    By BKMISHRA in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-29-2005, 07:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1