Solved

Setting Demo

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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 will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

679 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