Using A List Box Or Other Control Form To Activate Different Macros

Jun 4, 2008

I am designing (badly!) an excel file that is intended to be as user friendly as possible. I would like to add in a navigation feature using a list box or other appropriate control form that will take the user to the correct tab in the workbook depending on which item they choose from the list.

My aim is too hide all the tabs at the bottom whilst not crowding my page with multiple command buttons, and still be able to navigate easily through the workbook.

View 12 Replies


ADVERTISEMENT

How To Use Form Control Dropdowns To List Items Based On Condition

Jun 16, 2014

I have 2 dropdown lists.

The 1st shows the portfolio list and the 2nd one should display project names based on the portfolio selection in Dropdown1.

My data resides in another sheet where Column B is the Portfolio list,Column C project list and Column D to X some data related to the project.

I have to give cell link reference to the project selected in dropdown 2 so that the other values in the dashboard changes based on a vlookup formula.

I have attached the sample sheet for reference with some dump values.

Dashboard sample.xlsx

View 3 Replies View Related

Macros That Should Activate Another Macro

Jul 24, 2007

I need to write a macros that will activate another macros whenever the cell "I4" is modified. So far it is not working the way it suppose to. Maybe anyone can spot a mistake? Here are both Macros that I have: ....

View 9 Replies View Related

Prompt Users To Activate Macros

Mar 27, 2008

I update an Excel file daily and save it to a server on a network. Other network users access this file from their own computers. I have a macro created that opens a dialog box upon opening that shows users know of anything important.

Since employees in the office have Excel set to Paranoid mode or something like that, they are never even prompted that macros exist and are intended to run and that they should choose to allow them to run or not.

I would like to approach the problem in a way other than asking all employees to activate all macros or to lower their Excel security settings at all times or only when opening this single document. That would be considered too inconvenient.

View 8 Replies View Related

Form Control Listbox VBA

Oct 23, 2009

i have a form control listbox (list box 5), it is multi select, i need to create a for next statement that loops through the list in and tells me which "row numbers" as it were are selected. i.e if the 1st and 3rd ones are blue, it returns 1,3 in a cell? (lets say cell A1).

View 2 Replies View Related

Can Reverse Form Control

Dec 1, 2012

I have a control sheet that I am building and my sliderbar is making my data just disapear and not replacing it with any new data. Can this be fixed if I am able to reverse the sliderbar

View 2 Replies View Related

Use Of MS Chart Control In VBA Form

May 12, 2006

I am trying to use the Chartspace object on a VBA form in Excel 2002, but am unable to find out how to specify the speadsheet data to be used for each series. I have found out how to add series, and to add titles & legend etc.

View 5 Replies View Related

Assigning Macros To Control Toolbar Checkbox

Aug 7, 2006

I am an average user of excel and i am wanting some help with macros. I can record macros, that i do understand. Its the part where you can assign the macros to the Checkbox i have created.

The effect i am trying to create is that when the checkbox has a tick in it, certain properties happen to a cell. But when the checkbox has no tick in it something else happens to the cell. I have recorded 2 macros for what i want to happen its just getting it associated with the true/false of the checkbox.

I have no Visual Basic Experience and i have tried reading other posts, but the code just goes right over my head at the moment. Thanks in advance for anyhelp. I can attach the spreadsheet etc...

View 9 Replies View Related

Run Macro When Form Control Checkbox Changes

May 30, 2013

I have many Form Control Check Boxes that all link to another sheet on row 3.

I have many changes to make but only want to implement the change related to the check box.

This code works perfect when you manualy type true or false on row 3 but not if the check box makes the change.

Private Sub Worksheet_Change(ByVal Target As Range)
ThisCol = Target.Column
If Target.Row = 3 Then
RESULT = MsgBox(Cells(1, ThisCol) & " = " & Cells(3, ThisCol), vbOKOnly, "CLICK RESULTS")
End If
End Sub

Why does this not work when a check box changes the value in row 3?

View 5 Replies View Related

Form Control Button Changes Size

Nov 16, 2012

I have several files with form control buttons that automate functions but, on occasion, they get smaller relative to the worksheet they're in. At some point, they become unuasable unless they're manually resized.

View 8 Replies View Related

Search For A Form Control Button

Nov 28, 2012

I have a rather large sheet with lots of embedded form control buttons, each one with a document link. Is there a function (no VBA) to search for a specific form control button in excel? for example: i want to find the form control button which is linked to the "application" document.

View 8 Replies View Related

Form Control Like The One Used In System Time

Jan 13, 2009

Does anyone know how to make a form control (ex combobox, textbox) have multiple columns so that it would behave like 4 controls in one. What im going for is a control that looks like the control used when setting windows system time "12:30:00 AM" So "12" is in col 1, ":" is in col 2, "30" is in col 3, ":" is in col 4, "00" is in col 5, and "AM" is in col 6.

View 7 Replies View Related

User Form Cursor Control

Feb 13, 2008

how to link VBA to the buttons on user forms:

[url]

Now I'm interested in some refinements to make this little toy I'm building work faster. I want the user to be able to enter data without having to click the text box in order to proceed. My code

Userform1. show

just brings up the form with a text box in it, and the user has to click in the box to get started. Is there code I can add that will put the cursor in the text box so it's ready to go?

I suppose this seems trivial, but it will speed the data entry part of this little project up and every little bit counts.
.
.
.

View 9 Replies View Related

Link 2 Form Control Boxes

Mar 15, 2009

I am looking to connect 2 form control boxes and have the second box run 2 different types of macros. The first box will have only 2 options - select by week and select by month.

The second box should show the list of weeks or months based on the selection in the first box. Then for the second box, if weeks is shown, a week macro should be run whenever a week date is selected. Similarly for the list of months, a month macro should be run whenever a month is selected.

I have been trying to do this for more than a week (after posting on this board) without success. I apologize if this seems like a duplicate post.

View 9 Replies View Related

Worksheet Form Control Properties

Sep 21, 2006

how to get a list of the properties for form control shapes (not control toolbox shapes) that are placed on a worksheet (not on a userform). Eg., a button, checkbox, combobox, etc.

If it's possible, I'm interested in working with properties like "enabled", "caption", etc. that aren't listed on the "Format Control Properties" dialog.

I understand you can edit properties of a form control shape via VBA code (See example below), however, I can't seem to find anything within the object browser about them.

EXAMPLE
With ActiveSheet.Shapes("Scroll Bar 2").ControlFormat
.Min = 10
.Max = 150
End With

View 5 Replies View Related

Extract Data With Form Control

Sep 22, 2006

I need to extract proper unit price of a component from a large data base. So far, I have created drop down lists so that the users can select different parameters for each component. How do I use the user selected parameter to pin point the proper unit price from the large database?

View 3 Replies View Related

Cresting A Simple Sort Using Control Objects And Various Macros

Jan 28, 2010

I was wondering how it would be possible to create a sort button to perform various sorts on a set of data. Essentially I want to mirror the data sort function in excel but strip it down and have it on the worksheet to make it obvious to people who aren't very excel savvy.

I have 5 columns I want to be able to sort by and I want the option to sort ascending or descending.

I've recorded macros for each type of sorting and now just need to know how to get them to work with the control objects.

I have a combo box with a list of the columns and two radio buttons: one marked 'ascending' the other 'descending'. I also have a button called 'sort' to perform the sort after criteria is selected.

What I need to do now is it to get each macro to run when a certain combination of combo box selection and radio button selection is made.

eg When 'Date' is selected in the combo box and 'ascending' is selected on the radio button it will run the 'SortDateAscending' Macro I have recorded and so on.

View 9 Replies View Related

Pop-Up Form With User Input - Inventory Control

Jul 16, 2014

I am working on an Inventory control worksheet where i have all parts used in a certain assembly on the left (A) followed by Qty per assembly (B) and then current baseline Inventory (C). In columns D-max i will have at the top a pull down menu to let the user decide if they are subtracting from inventory (Purchase Order) or adding to inventory (Fulfillment). Under both circumstances, depending on which is selected I would like a different form to pop up which allows the user to enter values to control the chart.

If Purchase order is selected then a pop up will ask the order number, date, and quantity. This will then fill in three specific cells in the chart which control an equation to subtract the number of parts based on the order quantity.

If Fulfillment is selected I would like a pop up or the entire parts list to appear with a field to enter the number of parts being stocked. The program will then add these parts to the previous inventory entry.

In the example attached you can see that right now you have to manually enter the number of units ordered, then an If statement takes over to calculate the new inventory level (If statement used to keep things neat and possibly to incorporate fulfillment at a later time). At this time there is no way for me to enter stocking transactions.

View 1 Replies View Related

How To Protect Form Control Button With Password

Jul 21, 2014

I have made an excel sheet for multiple choice questions, in which person needs to click on submit button after completing with the test & pop up will say "Your score is__". Now, I want to want to add one more button named "Reset". I want below :

results:

1. Person should not be able to make any changes after clicking on "Submit" button.

2. If one tries to click on "Reset" button, it should ask for password.

3. After keying password for "Reset" button, all questions should be reset so that next person can give test.

I have attached an example excel sheet for reference : DoM1.xlsm‎

View 2 Replies View Related

Insert NICE Form Control Buttons

Oct 8, 2009

how to insert an attractive form control button instead of the horrible default grey buttons that come with Excel? I've seen it done, so I know it can be done.

View 3 Replies View Related

Cascading Two Tier Dropdowns In Form Control

Jun 4, 2013

I am having some trouble with cascading two tier drop down. I cannot seem to find out how to do it. I am trying to create a two tier cascading drop down in form control. I want the first drop down to be Products we have and the second one to be customers. I also want to be able to create a bar chart from these drop downs where after we choose our customer by product, it shows the revenue we have recieved from the customer by months. Is there a way to do this? I figured out how to do this with just one combo box, but I am unable to do a cascading one.

View 5 Replies View Related

Send Form As Email From Control Button?

Apr 5, 2013

I am trying to get a form sent as an email by pressing he control button without having to cut and paste into an email sheet. I have tried with

[Code] .....

but the code I put in only opens a new email form, which requires cut and paste.

View 2 Replies View Related

View Data From Form Control Button

Aug 9, 2009

Is it possible to configure the workbook so the user can view the data in the worksheet from the form and I can hide the actual worksheet so that the data in the workshhet cannot be changed? Or maybe there is a better way all together??

I am attaching a copy of the worksheet.

Second, Is there a better way to input a code that would allow a search for duplicates in certain fields to be flagged (other than the color coding?)

View 6 Replies View Related

Allow Workbook Control While User Form Is Displayed

Sep 10, 2009

Is there a way to have an open user form and still be able to navigate in the current workbook/spread sheet(s)?

View 6 Replies View Related

Form Control To Grey Out Unused Rows

Nov 8, 2009

Is there a macro that will format unused rows or with no value in a given range. I have a sheet that I am using that some of the date is either added or deleted and would like to have a macro to do grey out unused rows. I am using this with a form control.

View 3 Replies View Related

Inserting Browse Button In Form Control?

Nov 29, 2012

Is it possible to use a Form control which choose a folder/file in a specific location (Ie: Browse button)?

Currently I put the location details in a textbox.

View 1 Replies View Related

Form Control Combobox And Multiple Columns

Oct 22, 2013

I want to display mutliple columns in a form control combobox. Tried activex and the easy part was the multiple columns. I couldn't get the activex combobox to update properly when a cell value changed.

The form control combobox updates properly but it is only displaying the first column of my named range.

View 6 Replies View Related

Making The Scroll Form Control Automatic

Feb 1, 2010

I have a scroll (form control) linked with data from another sheet. It scrolls nicely and works fine but I'd like to be able to update the data sheet and then the table with the scroll automatically update too.

View 9 Replies View Related

Calendar Form/Control To Calculate NetWorkDays

Sep 29, 2006

I would like to be able to calculate the number of Net Working Days between 2 dates using the dates returned from the calendar form and have the number of working days placed into a separate cell. Example, I use the popup calendar in A1 and select 10/1/06, I then use the popup calendar in B1 and select 10/9/06 and the number of Net Wroking Days is placed in cell C1. Is there a way to calculate the number of working days between the two chosen dates?

I have the forms for the calendar already created and am using this for the popup calendar but don't know where to start to calculate the working days from the calendars results.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'This will launch when A1 and/or B1 is selected
If Target.Address = "$A$1" Or Target.Address = "$B$1" Then
CalendarFrm.Show
End If
End Sub

View 3 Replies View Related

Prevent Down Arrow Moving To Next Form Control

Mar 13, 2008

I have multiple dropdown lists (forms combobox, NOT activex) on a worksheet -- once the user selects them, a keypress on the downarrow will move to the next dropdown list.

is there a way of preventing this? instead, i would like to move focus to the next cell (same column, 1 row beneath the combobox)

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved