Hardcode Options Into List

Nov 10, 2008

For my school project, I must create a spreadsheet with lists. I am not allowed to have the data from the lists displayed anywhere on the sheet except for the results which will be hidden by the list (Combo box) in question. I have 3 such combo boxes and I need the options inside them to be hard coded into the spreadsheet. How do I do this?

View 4 Replies


ADVERTISEMENT

Dropdown List Options

Feb 10, 2009

I have created a drop down list, but when selected the text is really small. I know this is because I am zoomed out, but if there any way for the text to be larger so that I can zoom out and still read what the options for the dropdown list are?

View 4 Replies View Related

Hardcode The Sheetname

Sep 12, 2006

How do I hardcode a sheet name??? Where would I do that?

View 9 Replies View Related

How To Display Description Of Options (list)

Feb 24, 2014

Any way to display the description of options (list) which in this case is a numbering code (like ECG201) in a data validation cell.

The length of the cell is not long enough for the users to know the appropriate description of the selected lists. I am now thinking there should be a way to display the description of each item so that users will know that ECG201 means "International College of Excellence", for example, instead of having to go from one worksheet (area) to another to know what an option means.

View 1 Replies View Related

Dropdown Lists - Use List Options Only

Jul 21, 2006

I have dropdown lists in a form and i want to make it so that the user can not input a value other than the ones in the list, how can i do this?

View 7 Replies View Related

Vba List Options For User When Input

Jun 28, 2007

I want to write a macro that asks the user for input, but not any input. The input has to be either "D", "IK" or "CI". I would like for the user to have to select one of these options.

View 3 Replies View Related

Hiding Previously Selected Options In Dropdown List?

Jul 25, 2014

I wanted to hide/remove the already selected options in a dependent drop down list so that the next time i am left with only the remaining options.

View 7 Replies View Related

How Do I Hardcode A Formula Into A Macro And How Do I Take Report Size Into Account

Mar 23, 2009

Please see attached two books,

The first book is a report that is generated on my reporting systeM (Report I use everyday)
The second report is the one that I have created myself using a macro (macro report)

I have to manually manipulate this report everyday and extract some information from it to

a custom report(macro report) that we use everyday.

I have created a macro for this - please see my code below.

I need some help with some small issues I am having,(Highlighted in yellow)

1) I need to include a Total line, but the size of the report varies everyday from say

around 30 rows to over a 100 rows. Is there a way i can make the total always 2 rows below

the report, please see attached for an example.

2) I need to hardcord a formula in on Column F and G. But again the report varies in size,

the columns do not change but there could be lots more rows. how do i take this into

account

The formula i need to hard code into column F is

=(IF(($D$60>=0)*AND($D$60<=5000000),0.0009))+IF(($D$60<=10000000)*AND($D$60>5000000),0.0007

)+IF($D$60>10000000,0.0005)

D60 in the above formula is just the total of all the other months summed together.

For Column E the formula is just =F*E But again the size in the report varies.

View 13 Replies View Related

Excel 2007 :: How To Create Dropdown List But Options Reducing After Every Selection

Aug 17, 2011

Is it possible to do a drop down list that allow user to select pre-defined selections but everytime when a selection is chosen, the list reduced?

Example,

I have can choose Apple, Orange, Durian and Mango.

The drop down can only select these 4 fruits.

So there are 4 cells in Column A1, A2, A3, A4.

A1 selects Mango and then A2 will only have 3 options to choose. So until the last cell, he can only choose the last fruit left.

A1, A2, A3, A4 are not selecting in descending order thus it could be A3 selecting first, then A2 and then A4.

I'm using excel 2007

View 13 Replies View Related

Select Multiple Sheets And If Value In Cell Is True Then Copy Values In All Sheets And Hardcode Data

Feb 26, 2012

I have a workbook that updates from external source and creates sheets depending on a cell range.

I have put tab 1 and tab 0 on either end of where the new sheets will be inputted, will never know how many sheets

What i need to happen is if someone fills in "complete" in A7 in my "summary" sheet then the values in row 6 in all the other sheets get hardcoded. This needs to happen from A7 down to A26, so A8 = complete then copy row 7 etc
This is what i have so far

I get compile error here ........Sheets(ArrSh(1)).Activate

Also need it to work for all the other rows.

Sub hardcode()
'
'Sheets("Summary"). Select
If Range("a7") = "complete" Then
'
Sheets(Array("1", "0")).Select
Sheets(ArrSh(1)).Activate

[Code] ......

View 2 Replies View Related

IF Function With 3 Options

Jun 11, 2014

I am trying to write a formula with the following:

-if I9=0, then write 0
-if I9=501, then write 1
-if I9=502, then write 2

What would be the best way to write this formula? I am sure this should be pretty basic, but everything I try comes up with an error.

View 10 Replies View Related

Dropdown Box Options

Jul 7, 2007

i am currently designing a userform which has a drop-down box for user to choose from the options given. However, i would like to have in the box fields such as "--Subjects", "English", "Maths", "Science". In this way, the user will be shown a list of options of the different subjects for them to choose from as well as to clearly identify to them that these are the subjects available therefore the heading "--Subjects". I would also have to make sure that the user can only select "English", "Maths", "Science" and NOT "--Subjects".

View 11 Replies View Related

VBA Security Options

Oct 12, 2009

We have developed an Excel workbook with hundreds of lines of VBA code written for a specific application, and we would like to protect it.

Could someone give me an idea of what security options we have over and above the below (if any)?

We have protected all sheets and the workbook itself with passwords. The VBA itself is protected with a passoword.

My understanding is that VBA can be hacked into quite easily.....is there any way of adding another layer of security/protection without having to move to another platform altogether?

View 6 Replies View Related

Rounding With Three Options

Nov 26, 2008

numbers in one column need to be rounded to the nearest half decimal, with next conditions(ill took number 704,00 for example):
- if last two decimals are < 0,25 then my number has to be 704.00
- if last two decimals are >0,25<0,75 then my number has to be 704.50
- and finally if last two decimals are >0,75 then my number has to be 705.00

I tried with IF, CEILING, INT and ROUND functions but i didn't made it work with three options, that i need. I only made it work if i use only two options.

View 5 Replies View Related

Having Different Totals From Different Options

May 4, 2007

I would like to know how do I go about adding the following:

This is a test it counts out of 1250 points

But there are 3 fields which can be omitted from the grand total of 1250
Some students might not have all three fields. The fields totals are 30, 90 and 130. The students might have one or two of them in either order. Now what I would like to do is have 3 different fields where I can mark with a Y=Yes and N=No in a block. then it would change the Grand Total score accordingly.

View 9 Replies View Related

Filter Options

Sep 5, 2008

How do I filter the options in column A to bring up results in Column B. I want to do a one-many filter where if the user selects an option in column A then the results/values in column B should be based upon the the user selection.

View 9 Replies View Related

Right Click Options Are Gone

Sep 19, 2008

I recently added a macro in excel that stopped users from cutting and pasting and dragging etc. I got the macro from the web. I have delete the macro, but for some reason I cannot get it back to normal. If I right click on a cell the cut, copy, insert, delete, format cell menu is grayed out. The undo button also does not work? I have searched for the macro and deleted it but it seems to have changed something else. I have even tried to disable macros, but all menu items are still gone?

View 9 Replies View Related

Set Tools/Options From VBA

Jun 27, 2006

I use several different workbooks during the day, and sometimes I would prefer the " move selection after enter direction" option to = "Right" and sometimes "Down". It doesn't seem to be an option that is saved with the workbook.
what could be done to a workbooks code to change this option upon opening the book?

View 2 Replies View Related

AutoFilter Options VBA

Aug 17, 2006

I have a userform that prints out pages using a autofilter, the code in the userform prints out 13 different criterias from the autofilter. But the problem is i have no control over what criteria i can print out. Theres the

ActiveSheet. Unprotect ("seasons")
Sheets("Day Handover").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Sheets("Activities Pick Sheet").Select
Selection.AutoFilter Field:=1, Criteria1:="1"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.AutoFilter Field:=1, Criteria1:="2"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.AutoFilter Field:=1, Criteria1:="3"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.AutoFilter Field:=1, Criteria1:="4"......................

So i have design another userform that will able me to control what criteria can print out using checkboxes. But i don't know how to code the new userform so when i select a checkbox it removes that criteria from the code in the first userform called 'frmPrintOptions' and when deselect the checkbox it puts the criteria back in the code. Also the Second userform called 'frmAutoPrint' must remember what checkboxes have been selected and deselected.

View 5 Replies View Related

If Formula With 3 Options

Nov 25, 2006

I am currently having trouble getting =IF forumla's to work, with more than 3 options AND an equation being taken into account. Attached, is an example of a spreadsheet, involving what I currently have, with Row 5 showing the formula's I've used, and rows 2-4 showing examples of 'Yes', 'No' and 'Equal' outcomes.

For Column E, I would like the value from the above cell (set to zero in the formula of the first cell) to:
-Go up 1 digit (from the above cell's value) for a Yes in that rows C cell
-Go down 1 digit (from the above cells value) for a No in that rows C cell
-Go up 2 digit (from the above cell's value) for a Equal in that rows C cell

As can also be seen from my example, I only have it working so that 'Yes' in C will take the value up by 1, and anything else (including 'No' and 'Equal') going down a point, which is only really using 2 options. I have tried numerous different possibilities for trying to get this to work, all of which gave me #VALUE error, or wouldn't even let me accept the formula. My current formula for what I have now (with only 2 options) is

=If(C5="Yes",E4+1, E1-1)

Basically, if possible, I would just like to make the E column change from 2 different ways (e.g +1 and -1) to 3+ different ways (e.g +1, +2 and -1).

View 3 Replies View Related

Start Up Options

Feb 9, 2007

I have a spreadsheet that I access over a citrix network, when I opened it at the start it gave me an option to enable or disable refresh external data, also enable or disable macros both of these are gone now and I have searched the net to find a way to get them back.

View 2 Replies View Related

Using Named Ranges Across Different Options?

Jan 28, 2014

At the moment I have to click in the cell and then look at the cells used and look across to the title of the rows.

So for example, performance = D3*D4*D5*D6

I would like, performance = vehicles*availabliity*utilisation*TKM.

That is easy if I have just 1 option. But what if I have 3 options? Naming each cell would be a way to do it but pretty laborious, is there a 'smart' way to use named ranges here?

View 3 Replies View Related

Cells With Options In Same Sheet?

Nov 1, 2013

I have a table with a list of names of some products and their substances, firm, package and price.What I need to do is this. When I type a certain name in another sheet, I want it to show me a cell with the substances, a cell with the firm (that are fixed and cannot change them) and then in the next cell to give me options (if I type "package 1kg" to show me the price of this package, if I type "package 0,5kg" the price of this one, etc.).

View 6 Replies View Related

Create Menu Options In The VBE

Apr 18, 2009

I have a workbook (VBE.xls) that creates menu options in the VBE when it opens.
Several of them modify the code in the active codepane.

When the codepane is in VBE.xls, everything gets reset and my macros don't run anymore. I have to re-run the macro (menu_setup()) that creates the menu options.
I don't think there is anything I can do about it resetting when I modify the project that created the menus.

Is there some way to have each macro re-run menu_setup() AFTER it has ended (after the reset has cleared everything)?

I've tried having each macro open the immediate window and paste in "menu_setup" then tried to use "sendkeys" command to execute it, but I can't seem to get it work.

View 5 Replies View Related

Counting Multiple Options

Dec 6, 2009

Having great success at using Countif and Sumif in totaling values across two sheets, but at the risk of sounding like a dummy I would like a suggestion as to which formula I should be using for this basic little function;

I have a column on a sheet with dropdowns offering 4 options; Active, Cancelled, Completed, and Suspended. I'm using Countif to total the number of "Active" but I also need to total the number of "Canceled", "Completed", and "Suspended" under the one heading, as if they all meant the same thing.

View 6 Replies View Related

Options When Workbook Opens

Jan 31, 2010

I would really like to know if there is a way that when my workbook opens if the following can happen?

- Not display the tabs (NOT "HIDE" the sheets, just not be able to view the tabs themselves)
- Go to full screen (not display ribbon)

View 6 Replies View Related

Number Of Options Using Fact?

May 4, 2012

I know I can figure out the number of possible criteria using FACT(#) if it is just a number. But what if i want to figure out the number of passwords that can be used if the password must be 6 characters and have at least 1 number and at least 1 letter (so it could be any combination of up to 5 letters and 1 number, or 5 numbers and 1 letter). To make it more complicated, passwords are case sensitive. Just wondering about this since whenever I have to reset a password I always wonder how many possible passwords there are to choose from.

View 9 Replies View Related

Excel Formula For More Than 10 Options?

Jan 22, 2013

i have 2 columns i want a formula that will test both cells at the same time for different possibilities:

First Column Second Column
IN Place 1
Not In Place -1
Part In Place 0

I need to check for all these possibilities and return a grade for it

View 9 Replies View Related

Survey Form With More Than 2 Options

Apr 10, 2014

I followed a youtube video on setting up a survey in excel, and it works great, but it was only for two options. I wanted to make it 5 options per question, but when I started adding to the code ( which I thought was correct, but was not ) I kept getting errors. It probably is a simple addition. How to make the survey options more than two?

There are three tabs. The first tab (Start) only has a button that leads to the QA Survey. The Second tab has the questions and answers. The third tab as three columns in it as well for the name of the person, question number, and answer choice.

Here is the code inside the form (QASurvey):

Code:
Private Sub button_next_Click()
''confirm there is a name
If TextBox1.Value = "" Then
MsgBox ("Please enter your name")
[Code] ...

Here is the code in Module 1:

Code:
''global variables
Public info() As Variant
Public results() As Variant
Public questionnumber As Integer

Here is the code on the sheet that has the button to start the Survey Form:

Code:
Private Sub Start_Button_Click()
QASurvey.Show
End Sub

View 5 Replies View Related

Control When Command Bar Options Are Available

Dec 13, 2006

I have a custom command bar & and I have several buttons in it.

I only want some buttons availble when a certain worksheet is active.

What code would I use to only make certain button available.

ie if Budget worksheet was active then the botton below would be active?

But if Overages worksheet was active the button would be inactive?

Private Sub AddMenuToCommandBar(cb As CommandBar, blnBeginGroup As Boolean)

Dim m As CommandBarPopup, mi As CommandBarButton
If cb Is Nothing Then Exit Sub

Set m = cb.Controls.Add(msoControlPopup, , , , True)
With m
.BeginGroup = blnBeginGroup
.Caption = "Page Go"
.TooltipText = "Page Select"
End With

View 9 Replies View Related







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