Fixing the Demo Macro

Greetings EE Pros,

I have a WB that has a "DEMO" capability.  On the first tab ("IoT_Financial_Business_Case"), you can hold the shiftkey down and it will show a dropdown box where you can select a particular DEMO to populate the model with. There is another button that Resets the Model so you can start over if you like.   The code that calls and determines which Demo data to populate the model with is located in MODULE "Democode".  

Here's my ask:  Can someone shift the Demo data to begin not in Row B1 but rather begin in P5 and change the code in the Democode Module to still handle the selection properly?  I have the code that works properly in the WS "DEMO" and the way I want it in WS "DEMOWHATIWANT".

Thank you in advance!

B.
Demo-Code.xlsm
Bright01Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
In the Demo macro this line starts from Row 2

 
For lngRow = 2 To lngLastRow

Open in new window

Roy CoxGroup Finance ManagerCommented:
Pressing Shift on the Demo sheet does nothing for me.
Bright01Author Commented:
Roy,

Thanks for picking this up!  I still owe you a call.  Unfortunately I had a death in the family last week and am just getting back into things here....

In order to get the dropdown selection to show, you must use the shift key and click on the "SELECT DEMO" button. You will see a drop down menu that you can select which Demo you want to run.

Hope that helps!

B.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Roy CoxGroup Finance ManagerCommented:
I've moved the demo data and adjusted the code, but I'm not sure where the list is for the choice of Demos
Demo-Code.xlsm
Roy CoxGroup Finance ManagerCommented:
I think this is it, the data is moved and the list for the combobox is now correct

The UserForm is hard coded to one sheet though

Edit:

Changed sample. I need to find the code that populates the demo sheet
Demo-Code--1-.xlsm
Roy CoxGroup Finance ManagerCommented:
I've nearly finished, I'll get back later. It looks like I have to rename some shapes
Bright01Author Commented:
Roy,

I think it's in the Module "DemoCode"........

B.
Roy CoxGroup Finance ManagerCommented:
Try this. I can't find a shape though
Demo-Code--3-.xlsm

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bright01Author Commented:
Roy,

Works!  I'll incorporate it now into my master copy and let you know how it turns out.   Much thanks as always!

B.
Roy CoxGroup Finance ManagerCommented:
There's code to change Text in Shape which I couldn't find.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.