Restricting Input

Oct 9, 2009

I have taken over a workbook that due to various constraints elsewhere I cannot change the structure.

Each of the three columns in question C, E & F have dropdown validation lists.

Column C is either Import or Export
Column E is a list of locations where work is Imported From
Column F is a list of locations where work is Exported To.

Based on whatever choice is made in column C either Import or Export I only want the user to be able to select a value in E or F.

So if Import is selected then a value cannot be entered in F

View 9 Replies


ADVERTISEMENT

Restricting Macros

Apr 6, 2009

I created a Macro to do some copying and pasting. Can I restrict that Macro so that it can only be used from my PC?

View 6 Replies View Related

Restricting Adding Worksheets

Apr 30, 2009

We published a 2003 spreadsheet for people to enter expense information, but some get cute and add worksheets to it (instead of sending in multiple spreadsheets). How can prevent a worksheet to be added to our spreadsheet?

View 3 Replies View Related

Restricting The Search To One Column

May 1, 2007

I am trying to get a macro that converts Japanese digits to their Roman counterparts but does it only in a specific column. My original version just selected the J column and then Cells.Replace ran just fine on just that column. I have discovered, however, that the users may make the crucial column either J or K, so I changed it to search for the header first, and then select that column. It replaces in the entire sheet, however.

Here's what I've got (I've only given you one digit replacement. The What doesn't display properly because this forum doesn't display Japanese):

View 14 Replies View Related

Restricting Cells To Numeric Only

Jan 26, 2007

I currently have an input screen where users copy and paste data from a seperate spreadsheet into a range of cells B11:B15 in the input screen.
A macro is assigned to then extract this data and paste into the recording sheets behind.

I would like to format somehow cells B11:B15 so that only numeric entries can be pasted in and not any alpha including #.

View 9 Replies View Related

Restricting Size Of A Cell

Mar 19, 2007

I have a cell in a spreadsheet which has a lot of text entered. The spreadsheet needs to be used by another application (Business Objects).

My problem is that I need to limit the number of characters entered in the cell to 255 characters. I know I can use Data, Validation to limit the text length, but this only works once all the data has been entered, then a message is displayed.

My ideal soulution would be:

When a user is entering text and has reached my 255 character limit, no more text can be entered;

or

When a user is entering text and has reached my 255 character limit, the text automatically continues in the next cell.

A not so elegant solution (but a usable) would be:

A character counter to let the users know when 255 characters have been reached.

View 9 Replies View Related

Restricting Viewing Of Particular Cells

Oct 23, 2007

I do not want to send each rep a file only with their own sales figures as this will be very time consuming. If I could send one file to all representatives but restrict their view to their own figures only, this would make life much easier. If necessary I can set up passwords for them.

View 9 Replies View Related

Restricting Specific Dates In Any Given Month

Jul 23, 2009

This may be a two part question, I finally was able to build a calender contol to insert dates into a active cell, now what i am trying to do is be able to restrict the usage of certain dates. For instance, dates prior to the current date cannot be chosen, nor dates that fall on 29th, 30th and month depending the 31st. Is this possible? Its is being used to calculate amounts for certain days, for example the calender object places a date in Cell A1, which falls between 1st-28th, another column also has a date option, the date to be chosen cannot be before todays date, and cannot be after the 28th of any given month. Is there a way to restrict in the calender or would a if statement apply? OR would a more simple approach to use data validation? where as (A1=MM, B1=DD, C1=YY) so that D1=A1/B1/C1 ie. 07/22/09, so that when using D1 it would be a date format. which would be the start date and E1,F1,G1 for a new date, then use conditional formatting to restrict or prevent choosing dates before TODAY() for the second date colums, I know a message could be displayed for it if it is less then/prior to the current date, or should i have the data validation adjust (if at all possible)for the first set of date options?

View 11 Replies View Related

Restricting Auto Add Row In Second Sheet To Only One Trigger

Jul 28, 2014

I have cut and paste some code provided by members of this great forum to insert a row in a second worksheet at the same row number when one is inserted in the active worksheet. e.g. If I insert a new line at Row 14 in worksheet "admin" I also get a new row at Row 14 in worksheet "report".

Code is as follows:

Private Sub Worksheet_Change(ByVal Target As Range)
Set sourcebook = ThisWorkbook
Set sourcesheet = sourcebook.Worksheets("admin")
Set targetbook = ThisWorkbook
Set targetsheet = targetbook.Worksheets("report")
myRow = ActiveCell.Row
targetsheet.Activate
ActiveSheet.Rows(myRow).EntireRow.Insert
sourcesheet.Activate
End Sub

However, anything I do in worksheet "admin" triggers a new row to be inserted in "report".... If I change text in any cell, or make any changes at all, I get a new row in "report".

Is there a way to restrict this action to only a line insert?

View 7 Replies View Related

Restricting Moving Onto Another Cell Until One Is Filled In

Apr 17, 2009

I'm an intermediate Excel user that can navigate around pretty well, but now my boss wants me manipulate Excel in such a way that I cannot figure out how to do.

He wants the worksheet to be "locked" so that I cannot select another or "the next" cell unless the active cell I'm in has something entered into it. The purpose of this is so that when a manager is buying off (proofing and approving) my work, he can't put his initials in a cell next to the purchased item unless the cell that decribes the purchaed item is filled in. I'm not exactly sure what terminology to use when describing this, so forgive me if I'm being vague.

Can I restrict a user from "moving on" to another cell unless the active cell is filled in? And if so, how do I do this?

View 9 Replies View Related

Restricting Textbox To Fill Only Negative Values

Oct 29, 2012

I want to restrict a textbox to only let the user fill negative values. So first of all he/she shouldn't be able to fill in a text, and only values. And if a value is filled in, then it should be a negative value (automatically).

View 4 Replies View Related

Restricting Values Of Changing Cells In Solver?

Sep 25, 2011

I have 50 share returns for 2009 (A2:A51). I am solving for optimal portfolio by allocating weights to my 50 shares in 2009. in solver, i am changing cells B2:B51, but the criteria is that if any of the 2009 returns is greater than 75 then the weight on that share should be 0. i tried to write an if function in column C of the changing cells but solver overrides the command when i solve.

View 4 Replies View Related

Restricting Textbox To Fill Only Negative Values

Oct 29, 2012

I want to restrict a textbox to only let the user fill negative values. So first of all he/she shouldn't be able to fill in a text, and only values. And if a value is filled in, then it should be a negative value (automatically).

View 1 Replies View Related

Restricting User To Only Update A Certain Range In A Spreadsheet

Mar 6, 2007

I was wondering if there was a way that I can have a user only able to edit the worksheet that pertained to them in a workbook of many sheets. So if there was a sheet called "Alicia" and another one called "Love Child"; user Alicia would only be able to update info on the "Alicia" tab and user Love Child would only be able to update their info. Is this possible? Also can this be done for a particular row in a spreadsheet? So if row 3 has Alicia's info, she's only allowed to update the info on that row.

View 3 Replies View Related

Restricting Width Of Data Validation Drop Down List?

Jun 5, 2006

I have not found a way to control the width of a validation drop down menu. I have 3 drop down list. Two of them are in wide column cells and one a narrow column cell. For some reason my narrow column cell gives me a wide pull down even though the length of the data in this field is only 3 to four characters.

View 2 Replies View Related

Restricting Vlookup Function For Extracting Data To Single Item?

Mar 16, 2014

Currently I am facing a problem that I want to copy data from sheet 2 to sheet 1.Here I am using vlookup function.But I have a problem that when there is two items of same name in sheet 1,it copies data from sheet 2 into both same items in sheet 1.How can I restrict and copy data to only 1 items.The sample data is as shown below :

Sheet 1 (Including duplicate item)

Apple
Apple
Ball
Cat
Cat

In sheet 2 (Unique item)

Apple 25
Ball 36
Cat 34

View 12 Replies View Related

Restricting Text And Number List To Finite Column Size

Jul 18, 2013

I have a long list of data: a unique number identifier that needs to be grouped with text. Right now they are in two separate columns. I would like to have two large columns on a page, as if you were looking through a phone book. I have been trying to get this list to load into a finite number of rows before it breaks into another column on the same page. Then moves to the next page, so about 30 rows that are set 8 rows down on a page to account for company letter head.

I haven't paired the text and numbers together at all. But I haven't been able to find a way to have them move in a way that maintains their correspondence. I have gotten my numbers to move into the row column set I have wanted but not the text.

[LETTERHEAD] {1-7 rows}
1| Shims 31 |Shims 2
. .
. .
. .
30 Bearing Cover 60 |Mechanical Seals {Then it moves to the next page within a certain space. But at this point I would like it to just have this format}

View 1 Replies View Related

Restricting An "entered Number" Range?

Nov 5, 2008

If I setup a spreadsheet for others to use and I want them to enter their own numbers in certain cells... BUT... restrict those numbers to be from, say 0 to 50... what is the formula or how is it done? In this example I do not want to allow negative numbers or numbers > 50.

View 2 Replies View Related

Input In Multiple Cells To Generate Input Into Single Cell?

Feb 22, 2014

I have a spreadsheet with 5 columns. A1 to A5

Entries are made into columns A2 to A5 but only ever one entry across all cells

If an entry is made into A2 to A5 the I need a "P" to be placed into A1

View 4 Replies View Related

Input Box To Create And Input Info Into A Formula Which Then Populates A Cell With A Value

Jul 24, 2014

I am trying to create a macro which gives me an input box. I need to enter 2 numbers into the input box. It would be as follows:

Input Box Msg 1 - "What is your labor cost?" (NUM1)
Input Box Msg 2 - "What is your productivity rate?" (NUM2)

Then I need the macro to take this info and enter it into a formula which changes according to the row which you are on. (I need the macro to work based on which ever cell I currently have selected). The formula would be this if I currently had a cell on row 10 selected:

=(NUM1*(NUM2*$H10))/$H10

So, if I currently had cell L10 selected, and I ran the macro and put 100 in for "NUM1" and 10 for "NUM2" and my sheet had 20 in cell H10, then the macro would enter the number 1,000 into cell L10. If I had L500 selected, then the macro would enter the final number into cell L500 based on what value H500 contained.

View 9 Replies View Related

Transferring Of Input From Input Cell To Output Cells?

Jun 8, 2014

I would like to know if it is possible to transfer values of cells this way?

I've attached the excel file for easier reference.

View 3 Replies View Related

UserForm Input (a Button That Opens An Input Box Or Dialog Box)

Jul 4, 2006

I have to design an input user form (a button that opens an input box or dialog box), which asks user to "Enter number of "columns"".

User enters a number i.e. 2 or 3 etc

It then asks user for the headings of these coulmns and places first column heading in A1 and second column heading in B1, third in C1 and so on ...

View 9 Replies View Related

Input Text In Given Cell After Any Input In An Area

Feb 28, 2007

I am just starting to get my feet a little damp with VBA and I am trying to make a macro that will act whenever any text is entered in any cell within a 3x3 square. Whenever any text is entered in any of those cells I would like it to enter a text ( "X" ) in a cell which is specified by a cell in the spreadsheet (this cell will output which cell the macro should write the text in in this format "A:1" or "C:3"). How can I make the program act only in reaction to the user entering thier text, and also, how can I get the macro to read A:1 and enter the text into that specific cell? Any help would be so awesome, the book I have is really difficult to navigate.

View 9 Replies View Related

How To Change An Input Box Based On Input In Another

Dec 9, 2008

What I am trying to accomplish....

If the input changes in D5, K11 will reset to $0.00..

Example. If cell K11 is set to $300.00, and the corresponding input in D5 is '123', when I change the contents of D5 it sets K11 back to '0.00'.

View 9 Replies View Related

VBA To Automate Text Input Into Input Box

Feb 6, 2014

I am in need of VBA code so that I can fill out an input form generated by someone elses macro input box. (I am the user, not the one developing the input box).

I am working to streamline a whole cluster of macros and this input box is currently my bottleneck. When the input box pops up, instead of me manually typing, I want to autofill the space with "104" and then click 'ok' uisng VBA.

I can not modify the actual VBA that created the input box (ie make 104 the default) because other users need the box to be blank.

find out how a developer would change the original vba code, not how a user can interact with an input box by using vba.

View 3 Replies View Related

Input Box Allow To Input The Column Number

Dec 5, 2007

I want to create an input box that will allow you to input the column number it should start in... so instead of it being fixed at A, you can choose column B, C, D all the way to the end if you like.

Sub SplitSheetsNoDelete1()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Dim Lmainsheet As String
Dim Lrow As Integer
Dim lcontinue As Boolean

Dim LColamaster As String
Dim lcolatest As String

'Retrieve name of sheet that contains the data
Lmainsheet = ActiveSheet.Name

'Initialize variables
lcontinue = True
Lrow = 2.....................................

View 9 Replies View Related

Input #

Sep 24, 2009

I am maintaining a program which reads through a pre-prepared CSV file using Input #.

The first line of the CSV file contains field names, one of which has recently been changed from "Protection Type" to "1st Protection Type". For some reason VBA simply returns the number 1 instead of the full string.

I find this strange, since within the subsequent data lines there are many alphanumeric fields which begin with numbers and they are all read correctly.

Before I start making wholesale changes to the software (plan is to either use Line Input # and parse each line manually, or import the entire CSV file and move the data using an array) does anyone know if there is a way around this behaviour?

View 9 Replies View Related

Msg Box With Input

Jan 18, 2007

I have a macro that runs and toward the end I want to have a message box that will enable the entry of a number that will go in cell N1. The reason for this is that I run the macro on a large number of clients and if they owe a certain amount they are put onto the list. One month we may want to look at those over 2000, and another over 1000. I then have a formula that will delete out the rows that are below those numbers. Also if there was a cancel button to stop the process at this point that would be very cool as well so we could look at all that owe.

I am not sure how easy or hard this is to do. I have another work around that ends my macro at this step and I enter the number in N1 that we are looking for and then run the rest of the steps in another macro. The results have worked with this I just want to make it work faster.

View 2 Replies View Related

Random Input

Feb 26, 2009

First time poster, long time viewer for help.

this one should be an easy one for you experts.

i am in charge of making an assignment list in my classroom .

cells A1 all the way to A20 have a single childs name in them.

in the corresponding box ,B1 which is next to the first name and B2 next to name 2 , etc etc. i would like to put 3 random chores they need to do for the week. the first chore being in column B the second chore in C and thirs chore in D . in other words, each child listed in column A , 1-20 will have 3 chores to do over the week .

all 3 chores for each child will be in the same numbered row as their name.

i have a list of all the chores at the bottom of the spreadsheet, theyre from A20 to A40 (20 chores in a row) . i want excel to randomly put A20-A40 in the corresponding boxes next to the kids names.

im tired of having to mix all their chores up for the week next to their names.

View 10 Replies View Related

Message Box With Input Bar?

Jul 31, 2014

Below is a message box with an input bar inside the message box. I am able to put a prompt message on top of the input bar but i am finding it difficult to enter another message underneath the box. I want to have the text "Continue?".

[Code] ......

This is what the promt message with the input box looks like : Untitled.png

So basically right underneath the input bar i would like to have the word "Continue?"

View 6 Replies View Related







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