Changing text timeline slider

Kryswills

New Member
Joined
Jul 22, 2016
Messages
3
Hi

I have a project needing different text messages to appear depending on where I move a slider. This would be over a 17 day period. Is that possible?

Thanks
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
what do you mean by slider? But typically yes, you could display a text message based on criteria
 
Upvote 0
Hi.

I was hoping for a bar numbering days 1-17. Beneath the bar a curser or similar that when moved left to right will display a different text message depending on where in the timeline the curser is.

Hope that makes sense.
 
Upvote 0
In your dataset if you add a column for this, you could pivot your data then add a "slicer" (insert slicer). As the user selects, display messages.
 
Upvote 0
The text list is in cells G4:G20. From the developer tab I inserted a Form Control Scroll Bar. I formatted the scroll bar with:

4QELFlD.png


The Scroll Bar controls cell E3.

I used an INDEX formula in cell B4 to retrieve the text. Download available at:
https://www.dropbox.com/s/slavlj18dxv166m/scroll_bar_to_change_text.xlsx?dl=0

DQ4YU3I.png
 
Upvote 0
alt + F11 to enter macro editor. Paste this in:

Code:
Sub scrollbar1_change()
Dim scbval As Long
scbval = ActiveSheet.Shapes("Scroll Bar 1").ControlFormat.Value
Range("J3") = Range("G1").Offset(scbval + 2, 0) 'change J3 to whatever cell you want to show message, even can be on another sheet.
End Sub

Then right click the actual scrollbar and assign macro to scrollbar1.
Use scrollbar and see dynamic messages based on scrollbar value.
 
Upvote 0

Forum statistics

Threads
1,223,992
Messages
6,175,834
Members
452,674
Latest member
psion2600

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