Solved

Setting Demo

Posted on 2013-11-26
2
212 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

856 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