Forum

Why mouse wheel bec...
 
Notifications
Clear all

Why mouse wheel becomes disabled in the workbook having power query tables/output etc.

5 Posts
3 Users
0 Reactions
52 Views
(@power)
Posts: 6
Active Member
Topic starter
 

Hi, 

I am experiencing that mouse wheel doesn't work or become disabled when I try to open the workbook having power query.

It seems its a bug in power query?

any solution ?

Regards,

Hasnat

 
Posted : 24/05/2017 8:08 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Hasnat,

This is a known bug. The 'fix' is to edit any cell and the mouse will focus on the worksheet again.

Mynda

 
Posted : 25/05/2017 5:50 am
(@power)
Posts: 6
Active Member
Topic starter
 

Thanks Mynda.

As I was developing a template for my company routine work, I don't want the user gets stuck in such things.

So, I was trying to write a macro when the workbook will open it will go to a worksheet, do the double clicking/activate cell and also it will call Focus macro that I found in internet to shift focus. Codes below.

However, it didn’t work with Workbook Open. Can you please put some light what’s I am doing wrong here?

 

Private Sub Workbook_Open()

    Application.ScreenUpdating = False

    Sheets("Settings").Activate

    Range("A1").Select

    ActiveCell.FormulaR1C1 = ""

    Range("A2").Select

    Call Focus

    Application.ScreenUpdating = True

End Sub

 

Module:

 

Sub Focus()

Dim r As Range, rr As Range

Set rr = Range("A1:B1")    ' any empty range in the worksheet

For Each r In rr

     r.Select

     Application.SendKeys "{F2}"

     Application.SendKeys "{ENTER}"

     DoEvents

Next

End Sub

 

Regards,

Hasnat

 
Posted : 31/05/2017 3:25 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Hasnat,

If you tried the solution found on web, inluding:

Private Sub Workbook_Open()
ActiveWindow.SmallScroll down:=1
ActiveWindow.SmallScroll up:=1
End Sub

and it still does not work as you want, I'm afraid you will have to wait for the promised fix from Microsoft, make sure you update your version of Power Query, also for your users.

See this article for update cycle information: https://www.myonlinetraininghub.com/power-query-updates

 
Posted : 31/05/2017 9:56 am
(@power)
Posts: 6
Active Member
Topic starter
 

Thanks Catalin,

It doesn't work with Workbook_Open though. 

Thanks for sharing PQ update info.

 
Posted : 02/06/2017 12:01 am
Share: