Can Excel unhide/hide rows just by hovering a mouse over it

atuljadhavnetafim

Active Member
Joined
Apr 7, 2012
Messages
341
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have values in D4 Cell which is sum of D5:D8 and again I have value in D9 cell which is sum of D10:D13 and so on......
now I don't want to use Group/Ungroup function because there are so many items in my excel and not practice to group/ungroup each time.
so what I want, whenever I hovering mouse to D4, excel slowly unhide Row 5 to 8 and once I remove mouse from D4 excel slowly hide those row.

I know this is possible in excel but just know howwwwww.

Thanks in advance
 
If you are going to use timers, you might want to look at a UDF called from a HYPERLINK function. That way the timer is only started when you mouse over the cell with the HYPERLINK function (the UDF can take care of unhiding the rows) and the timer proc can cancel the timer once the cursor is elsewhere.

Rory, How do you call a UDF from a hyperlink function?
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Just pass it as the first argument of the HYPERLINK function. It eliminates many of the restrictions on UDFs and it will be triggered by hovering over the link.
 
Upvote 0
Just pass it as the first argument of the HYPERLINK function. It eliminates many of the restrictions on UDFs and it will be triggered by hovering over the link.

I'm not understanding. I tried it and could not get it to work. Would you mind posting a simple example. Should I start a new thread?
 
Upvote 0
If you start a new thread on the UDF hyperlink thing, please let us know, this is very educational.
 
Upvote 0
Dear dataluver,

the last version is exactly what I want, this is really amazing and will create impact on my dashboard.
it is really impressive and thanks for giving a solution.


I will copy these codes and paste in my dashboard file and hope it will work fine.

Many Thanks
 
Upvote 0
Hi

i am getting belwo error while running this code in my file.
i have just copy paste codes in modue and paste in my file
also copy codes from your sheet and paste in RA Bill Summary sheet code. i have also change cell reference according to my file.
but nothing happening, while running macro manually then below error show.
can you please help,
1582176818191.png
 
Upvote 0
Atul, you probably need to set a reference to Microsoft Scripting Runtime.
From your VBA IDE, select Tools -> References -> Microsoft Scripting Runtime.
If that does not work, try the example file I posted in post #8.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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