Shape Rotation Animation Speed

jwdragon

New Member
Joined
Dec 22, 2017
Messages
1
Hi all,

I have created 4 gauges with shapes, the dials of the gauges are a shape that's been regrouped at the 0 degree mark on the gauge and moves according to the % of the value * the degrees of the gauge I've created. When I select a new set of values based on a data validation list, they change properly without issues.

I am wanting to slow down the movement speed of the dials so they do not change instantly but rather move in a smooth animation, similar to bar graph/line graph w/ animation steps.

This is the code for one gauge's dial hand:

Sub Group148_Click()
ActiveSheet.Shapes("Group 148").Rotation = Range("'Chart Data'!E2").Value * 225
ActiveCell.Select
End Sub

This code below may be irrelevant but this one changes all the gauges based on the selection:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim KeyCells As Range
Set KeyCells = Range("A1")
Call Group28_Click
Call Group109_Click
Call Group148_Click
Call Group1_Click
End Sub



Could I get some assistance with this please?

Thank you
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
.
Please post your workbook example to DROP BOX or AMAZON CLOUD or GOOGLE CLOUD, etc.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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