Inputbox To Appear Asking The User To Enter An Amount

Nov 8, 2007

i need an inputbox to appear asking the user to enter an amount(we'll call XX).

Now the code will find that value in Column F, and delete the row that contains the value XX in F

View 9 Replies


ADVERTISEMENT

Force User To Enter (Year End) Or (Qrt) Using Inputbox Method

Oct 31, 2011

I need to force users to enter one of these words only (Year End) or (Qrt) using inputbox method.

Note that user must not leave the inputbox until he/she enter one of these words.

View 1 Replies View Related

Enter InputBox Value, After Calculation, Into Cell

Nov 21, 2007

I have made a macro to nominate a % rate in an input box , then have a value multiplied by this rate. Now i need the macro to place the rate followed by a '%' symbol in the cell below.

View 9 Replies View Related

InputBox User Validation

Jun 16, 2009

InputBox User Validation. Need to modify my code as follows?

View 5 Replies View Related

Can Inputbox Have Selections For User?

Sep 18, 2009

I have not used Inputboxes or Userforms much. I have read through some of the messages here, but I need to learn more about them. I need to create some type of user interface, where the user would be asked to select between two choices. Based on the choice made, a macro would be executed. The two choices run different macros.
I need direction or an example of an Inputbox that shows two choices instead of a blank input space.

View 3 Replies View Related

Using Inputbox To Get Data From User To Be Used In IF Statement

Mar 25, 2014

I have found a base macro that has most of what I want the only problem is I need it to search column A by the data entered by the user in the inputbox and send out an email if it meets all the requirements. I also need it to be able to be able to do that search by only the first letter of the company name (example, only needing to put in A in the inputbox for Amber Inc.). If I remove the red text the macro works perfectly but just runs down the list on the spreadsheet.

Column A has company names, Column B has email address' and Column C has the company contacts first name.

[Code] .....

View 5 Replies View Related

InputBox Error :: Get A Range A Data From The User

Aug 1, 2008

I am using an inputbox to get a range a data from the user.

View 10 Replies View Related

Create An Inputbox That Asks A User Which Set Of Rows To Copy

Aug 20, 2009

The example file gives a better visual explanation. Just want to copy a range of cells by pressing a command button. However I want the macro behind it to ask the user which set of rows to copy.

View 14 Replies View Related

SumIf: Check The Total Budgeted Amount Based On The Values I Enter On The Categories Sheet

Dec 18, 2009

I have included my budget so helpers can see it. I am trying creating a formula on mini-dashboard on A8 (Under the total budgeted amount) that will check the total budgeted amount based on the values I enter on the categories sheet. Of course it will be controlled using the drop down menu on A2 on mini-dashboard. I thought I had this working with a sumif function but it seems to have quit working.

View 2 Replies View Related

Lock User Input For A Given Amount Of Time

Jan 8, 2008

Is there a way to freeze the user input when it first comes up for a given amount of time. In essence, I am trying to force the user to read before clicking.

View 9 Replies View Related

User To Enter Date (US Version)

Dec 13, 2011

I have a userform where I want the user to enter the date (US Version)

I want them to enter 121311

I want the textbox which I am using to show 12/13/11 when they exit from it.

Here is my code i am using:

Private Sub mm_built_Exit(ByVal Cancel As MSForms.ReturnBoolean)
Dim mm_date As Date
Me.mm_built.Text = Format(mm_date, "mmm/dd/yy")
End Sub

What shows when they exit the entry for the above is Dec/30/99

How do I get it to show correctly?

View 5 Replies View Related

Double Click To Enter User ID

Aug 20, 2007

i have some code that allows my users to enter their user ID on double clicking. The worksheet code below shows how on double clicking into Colum 3 (If Target.Column = 3 Then) then the user ID will appear. Q: How do i get the code to work in Columns 3, 5 and 7 but not those inbetween?! I tried using "or" but it allowed the ID to be entered into all columns! i.e. 3,4,5,6 and 7 which is not what I require. In short I need the ID to appear on double clik into every other column.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)

Dim user As String
'This refers to the function ReturnUserName, which takes the name from the NT environment

If Target.Column = 3 Then
Target = ReturnUserName
Cancel = True
End If

End Sub

View 9 Replies View Related

To Force A User To Enter A Numeric Value

Mar 10, 2008

I'm trying to force a user to enter a numeric value, (one numeric value between 0 and 8, inclusive) into a range of cells, prior to exiting the spreadsheet.

The range would be D7:D252, and a single value would have to be entered into each range prior to exiting the spreadsheet.

View 9 Replies View Related

Input Box Where The User Can Only Enter A Whole Number Between 1 And 99

Jun 30, 2009

I am trying to create an input box where the user can only enter a whole number between 1 and 99. i can create the input box but am having trouble specifiying it can only be a whole number between 1 and 99.

View 9 Replies View Related

Use Of Enter Key On A Calendar User Form

Sep 25, 2006

I've created a calendar user form, much like many of the examples I seen posted here. I've tried all that I could find but none would allow the user to use the Enter Key to make the selection like the mouse click.

I would like the use of the Enter Key to produce the same results as a Mouse Click.

View 3 Replies View Related

User Form That Pops Up When I Enter ‘Y’ In Cells

Oct 14, 2009

What I am after is a user form that pops up when I enter ‘Y’ in cells in Column ‘L’ which displays the contents of the cells in that row e.g. if I enter Y in cell L2 a user form would pop up displaying the contents of cells A2 to M2

The A2 to M2 column headers are:-

First Name
Surname
Code
Address line 1
Address line 2
Address line 3
Address line 4
Address line 5
Post code
Telephone
Comments

The user form can be Read only i.e. I do not need to edit the cells (although that would be good) as it will be used as a source document to input into another application, however, a ‘Print’ button to print the form would be beneficial. The only other button required would be a ‘Close Form’ option.

View 4 Replies View Related

Force User To Enter Record First To Go Next Button

Dec 24, 2012

I have user form which allow user to entry their inputs in required boxes (Like TxtFirstName, TxtLastName etc.)

My form is working but which I want is that users should first fill up txtFirstName Text Box. Otherwise we will not able to do edit his/ her name in the last Name Text Box (TxtLastName).

Is there any way to do that?

View 1 Replies View Related

Enter User Form Data Onto Spreadsheet

Oct 4, 2007

I have 4 textboxes that the user enters data. I then have a button on the user form.

i would like to write code so that when the user hits the button...
Textbox1 data goes into active cell
Textbox2 data into the cell below Active cell
Textbox3 below it
and textbox4 below it
then close the user form.

View 9 Replies View Related

Forcing A User To Hard Enter Into A Cell

Apr 8, 2009

Is it possible to lock a cell so that the user must enter the number manually as opposed to using a formula.

There is a cell on one of our spreadsheets that the user should be hand entering the numbers from the general ledger this is done to ensure that the general ledger balance is the same as the spreadsheets totals. However most of the user insert a formula that just copies the number from above into this cell that should be hand entered.

View 9 Replies View Related

Allow User To Enter Break Mode (Debug)

Jan 4, 2008

i want to do is throw a break in my vba code if the user selects yes through a msgbox vbYesNo prompt and proceed in debug mode. is it possible to code in a break point in this fashion? my desired pseudo

if user selects yes:
set break point (to send to debug mode at that point... i dont mean to end the code with a END statement.)
if user selects no:
proceed program normally

View 6 Replies View Related

Load A Text Box Where The User Can Push Enter And Go To Another Line

May 29, 2009

how can I load a text box where the user can push enter and go to another line? That would be like a comment box. If I put the traditional text box, I can only write in the first line and enter doesn't work. Is there a way to program it, where it would work?

View 2 Replies View Related

User Inputs Information Into Userform When Click Enter?

Mar 21, 2012

Say a user inputs information into the user form, when they click enter, it enters all the data on the next available line in a workbook.

Is is possible for the user to click a cell on a previously entered row, and have the userform populate with the existing information?

example.
say the user has to fill out 3 separate areas. 1, 2, 3. However the user only has data for 1 and 2. They go ahead and enter the infromation for 1 and 2 and click submit to transfer to sheet. Now later he gets information for area 3, can the row the information that he previously entered, lets say column 1, row 1, and it reopens the userform with the information for 1 and 2 prefilled from what he entered previously?

View 9 Replies View Related

Prevent User To Enter Duplicate Using Data Validation?

Dec 27, 2013

I want to prevent user from entering duplicate text or numbers in a cell using the Data Validation.

View 9 Replies View Related

How To Use Input Boxes To Have User Enter Start And End Lines

Apr 28, 2014

How to set up a Inputbox to make the user pick the start line and end line for a loop

the sheet will have items on it numbered 1,2,3,etc I want a process done to the lines the user selects by item number not cell range.

line 4 to line 20 for example.

View 4 Replies View Related

Inputbox Button Control + Msgbox For Empty Inputbox

Jun 30, 2009

I have the inputbox so i can set a string value,
When the inputbox Cancle button is pressed i want to exit sub,
If the inputbox value is nothink and ok button, I want the msgbox displayed then goto newname.
If the inputbox has a value do >>>>>>That>>>>>

View 6 Replies View Related

Enter Fixed Data Pattern Based On User Input

Jun 21, 2012

I've been going round in circles with this for hours and have got no-where. I 'm trying to get Excel to paste in a set pattern of data based on an input cell.

In row 1 I have months starting in cell B1. B1 = April 12, C1 = May 12, D1 = June 12, and so on

The user would enter the data in column A, starting in row 2

If the date in A2 = May 12 then Excel would enter 10 in cell C2, 20 in cell D2 and 30 in cell E2. If the date in A2 is changed to June 12, then the previous data would be cleared and Excel would enter 10 in E2, 20 in F2 and 30 in G2.

Date would be entered in A3, A4, A5 etc and I would want it to post the same fixed data depending on the date the user enters in teh relevant row.

I've tried IF statements and also some code but can't even get near it working.

View 9 Replies View Related

Excel 2010 :: Data Validation - Restrict Value User Can Enter Into A Cell

Oct 2, 2012

I'm using Excel 2010, and I need to restrict the value the user can enter into a cell (E9).

In cell E3 is the screen width (pixels). eg 6024
In cell E5 is the preferred width of a window. eg 450

The user, in cell E9, enters an x coordinate for which they prefer the top left corner of the window whose width is specified in E5.

If the value that the user enters in E9, added to the width entered in E5, exceeds the value of E3, (if E9+E5 > E3) then the value should be disregarded (window will be off right of screen) and the user re-enter.

I'm not familiar with the use of data validation, so I'm uncertain as to how to use it in this circumstance.

View 3 Replies View Related

Messagebox Prompt Then Allow User To Enter Data Before Continuing Code Execution

Jun 11, 2013

Basically, in the "Thisworkbook" code , i have some code in the Workbook_BeforeClose section. Currently , it autosaves the workbook in a folder i have specified.

However, i need to add some code.I want to check that a certain cell has a value in it before the user closes the workbook, and if the cell is empty, show a messagebox asking him to enter a value.

I know how to get a messagebox to pop up, the only thing is once the user clicks the OK button,
i need the rest of the code execution to pause, allowing him to make the change then if he clicks the "X" (top right of the screen) to close the file or application, the filesave dialog appears and he can then save the document.

how to go about this because at the moment when user clicks ok, the messagebox just disappears and filesave dialog appears and he doesn't have a chance to edit the cell.

View 5 Replies View Related

Excel 2003 :: Allow User To Enter Post Code And Some Details Will Be Returned Using VLookup?

May 8, 2013

I have produced a basic search/lookup facility on an Excel workbook that simply allows the user to enter a post code and some details will be returned using a vlookup. The document is going to be rolled out to a number of operational users so I want to basically 'lock down' everything I can in the document (basically everything except the data entry cell) and make it fool proof- I have locked all cells apart from the data entry cell and have made the file read only.

The only issue I am encountering is when the cursor is in the one 'unlocked' cell (i.e. the one the users will enter the post code into); it appears that you can break the document. For example, when the cursor is in the 'unlocked' cell, I am able to go to Tools > Options and change various settings including cosmetic colour changes but also cell calculation which breaks the lookup functionality. This is probably enabled as the cell is unlocked, but if I lock the cell, when I protect the document, it disables data entry!

if there is another way of providing this one cell for users to input data into for the vlookup to work whilst locking down the rest of the document to ensure that no-one can break it?

View 1 Replies View Related

VBA If Range Value = Something AND Another Cell Has No Entry- Prompt The User To Enter Data- My Code Is Not Working

Apr 20, 2009

I am trying to display a message box for the user if there is "agency" in cell o8 but nothing in p8... I tried the following code but it doesnt work..


If Range("o8").Value = "Agency" And Range("p8").Value = "" Then

MsgBox "Please provide name of agency in cell p8"

Sheet9.Shapes("cross").Visible = True

Else

View 9 Replies View Related







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