Change Multiple Cells at Once in Excel - Save and Switch Excel Input Scenario

  Рет қаралды 4,219

Up4Excel

Up4Excel

Күн бұрын

Пікірлер: 6
@Up4Excel
@Up4Excel 3 жыл бұрын
👉 Up4Excel Downloads Library: »» ml.up4excel.com/library ✅ FREE Access to ALL Up4Excel Files. Includes Excel Templates, Training Workbooks, Example Data, Cheat Sheets and more. New Content Added Weekly!
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
Hi John. Interesting application. If you don't want to use an activeX control, you can do it with a standard Validation Dropdown list and a small amount of VBA. Create a table of the names of your scenarios. Pick a cell for the Validation List dropdown and point the Source to the table (handy if you want to add new scenarios). Name the validation cell "Choice". Go to the VBE and add the following code for the worksheet: Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("Choice")) Is Nothing Then ActiveSheet.Scenarios(Range("Choice").Value).Show End If End Sub When you make a selection from the dropdown, the worksheet_change event will show the scenario in the named range "Choice" which is whatever was selected on the validation list. This is just another way to get there. For a variety of reasons, I tend to avoid using activeX controls. If I can get it done with a form control and or standard ribbon available features, I go there first. Hope someone finds this useful. Thanks for the tips and inspiration to learn new things :)) Thumbs up!!
@Up4Excel
@Up4Excel 3 жыл бұрын
Thanks for the alternative way of getting there Wayne....I'm sure many people will find that useful 👍 I guess you could also combine this with a bit of my code to update the table with any new scenarios added too and make it fully dynamic. Out of interest, why do you try to avoid ActiveX controls?
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
@@Up4Excel Hi John. They can be quirky at times. Also, coding them and having to use design mode when working with them on the worksheet is a bit clunky compared to standard coding in the VBE and standard objects on the worksheet. I use them sometimes, but generally try to solve the problem first with form controls and worksheet events and or standard code. Maybe just my preference vs. anything being inherently wrong with ActiveX.
@Up4Excel
@Up4Excel 3 жыл бұрын
@@wayneedmondson1065 You're right they are a bit clunky and quirky - some of the properties sometimes don't do exactly what they should do for example. I like Form Controls too if I can get away with them...they still look the business but are really straight forward.
@Up4Excel
@Up4Excel 3 жыл бұрын
📗 Get Your Video Workbook Template Here: »» cutt.ly/V2011MFD 🎯 Change an entire input set for your spreadsheet model from a single dropdown list. How much time would YOU save if all your spreadsheet inputs were scenarios you pick on a dropdown list? This tutorial reveals the secret!
Automatically Remove Duplicates from Drop Down Lists
19:17
Up4Excel
Рет қаралды 12 М.
Make Excel Formulas Dynamic with the This Trick
10:54
Kenji Explains
Рет қаралды 159 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,9 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 30 МЛН
IF AND OR Formula in Excel with MULTIPLE CONDITIONS
17:32
Presentation Mastery
Рет қаралды 655 М.
How on Earth does ^.?$|^(..+?)\1+$ produce primes?
18:37
Stand-up Maths
Рет қаралды 345 М.
10 Excel Formulas That Will Set You Apart (+Cheat Sheet)
18:04
MyOnlineTrainingHub
Рет қаралды 311 М.