Solved

Setting Demo

Posted on 2013-11-26
2
207 Views
Last Modified: 2013-11-27
EE Pros,

Ssaqibh wrote a very nice Macro for me to help with a set of Demos I'm running in a WB.

I need one additional macro enhancement to this Macro that I hope is fairly simple.  I have a button on Sheet 1 that needs to fire off the Macro with respect to the Demo that has been selected on the Demo Tab.  If the Demo is changed on the Demo tab, it's ok and the new values will be reflected (as it is now).  Fire the Demo button on Sheet 1 and it reflects the values that have been selected on the Demo Tab.

That's it!  Thank you in advance!

B.
Demo-Scriptv2.xlsm
0
Comment
Question by:Bright01
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39679776
Change the previous macro from

Private Sub Worksheet_Change.........

to

Public Sub Worksheet_Change..........

and add this macro to the button

Sub RoundedRectangle1_Click()
    Call Sheet3.Worksheet_Change(Sheet3.Range("D3"))
End Sub
0
 

Author Closing Comment

by:Bright01
ID: 39680462
Beautiful!  And simple!

Thank you,

B.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question