Popup When Data Has Been Edited But Not After VBA Run
Apr 8, 2013
I've got a data sheet (called "data") which contain a bunch of data, if someone edits the data manually then a msg boxpopups. which i've done using the code below in the code on that tab. However, I also have vba that places data on the tab that also triggers the popup message.
So how do i make it such that if the vba is run then the popup doesnt appear but if they edit the data manually then it does?
VB:
Sub Worksheet_Change(ByVal Target As Range)
Dim WatchRange As Range
Dim IntersectRange As Range
[Code].....
View 3 Replies
ADVERTISEMENT
May 5, 2006
I have a cell that I am needing to allow users to edit the data but not the format.
The users edit the data by copying & pasting from their own personal spreadsheet. The source spreadsheet formatting can be varied. Is there a way to allow them to be able to edit the data inserted but not the format?
View 3 Replies
View Related
Sep 13, 2013
I have been working on a userform for entering in and editing data in a spreadsheet, but I'm stuck with the code for updating the edited data.
I have two pages on the Userform, one for adding a new entry, and one for editing an existing entry.
On the page for editing an existing entry, I have a combobox that displays information in the text boxes based the selection. What I need to be able to do is click save once I have made changes to the information in the text boxes and then have that information saved in the spreadsheet.
I have figured out all of the other buttons in the userform, but I am struggling with this last one. Here is my spreadsheet with some sample information entered in : ExcelFile.xls
View 9 Replies
View Related
Jun 24, 2014
I have a simple Excel file composed of three tabs:
-EDIT
-QUEUE
-RESOLVED
On each tab, line 1 has the same headers: Status, Name, Surname, Issue, Details, Last Update
In the EDIT tab, line 2 is dedicated to editing the relevant information under the headers, and once done is validated with a "Done Editing" button: This button would cut line 2, and place it in line 2 of the QUEUE tab, moving down all the others in the list
The QUEUE tab lists all the issues keyed into line 2 of the EDIT tab. An "Edit Selected" button would cut the selected line (or the line in which a cell is selected), and copy it to line 2 of the EDIT tab for further editing, after which it would be placed on top of the queue once again as above.
The RESOLVED tab lists all of the issues marked "Resolved" on the Status column.
What I can't figure out are the macros for the two buttons:
- "Done editing" in EDIT tab adds today's date in the "Last Update" column, then cuts line 2, and pastes it in line 2 of the QUEUE tab pushing down all the lines in the list, and keeping any existing conditional formatting if possible (colours in the "Last Update" column, for ex.). If the status is set to "Resolved" before clicking the button, it does the same, but pastes it to line 2 of the RESOLVED tab instead of QUEUE.
- "Edit selected" in the QUEUE tab just cuts the selected line from the QUEUE tab and pastes it in line 2 of the EDIT tab.
View 2 Replies
View Related
Jan 10, 2014
Basically I've got a back end worksheet with a huge table full of data (hundreds of rows, tens of columns) containing the data for a load of different contracts (each contract is on a different row).
I have all the information I want displayed on a front sheet by means of very simple lookups which looks for one contract at a time to display that information. What I would like to do is to be able to alter that information on the front sheet which will then go back and lookup that entry in the big table and overwrite the old data with the new. Effectively I want the excel sheet to act as a user form, but without actually using a form (a requirement from the people I'm doing this for). I'm struggling to find out how to do this as I don't know which VB functions I would need to use.
Each contract has its own unique reference number, so really what I need is some sort of code that will look for that reference number in the back end table, then look for any differences between what's on the front sheet and on the back end, and then replace anything that's changed.
View 4 Replies
View Related
Mar 20, 2014
VBA code which can distinguish whether a cell has been edited by:
selecting an option from a data validation list (DVL)
or
manually editing the text in a cell?
The ""Show error alert after invalid data is entered"" option is unticked to allow both selection from the DVL as well as free format text entries.
The problem arises when using the code below which makes an edited cell within a range display the new value as well as the prior value(s). This works well when using the DVL but not when editing the cell.
Is there any code which can distinguish between the 2?
[Code] ....
View 5 Replies
View Related
Feb 9, 2013
In long worksheets where I have to edit each cell, I would like it if the cell that is being edited is always on top of the screen. That way I wouldn't have to scroll as much.
View 1 Replies
View Related
Oct 25, 2013
Is it possible to find the unsaved data in a spreadhseet/workbook? Or the last cell was edited?
After working on multiple workbooks when I try closing them excel confirms if the changes should be saved or not. I was wondering if there was a way to check what those changes were. If there was a way to find address of the cell that was edited last.
View 3 Replies
View Related
Apr 5, 2013
I am looking to create a userform that submits data to my spreadsheet.The fields should be Reference Number, Title, forename, surname and DOB.The filling in of the reference number is compulsory, and should display a message box if a reference number has not been input.A button should be present on the spreadsheet that brings the userform up.
The search Userform should look the same as the input userform, except the fields are blanked out and uneditable.
The ability to search by any field is neccesary.
A list should be brought up containing the search results.
The user can then select the entry that they are looking for and then the uneditable userform comes up with the information that has be extracted from the existing entries.y impossible.
View 3 Replies
View Related
May 27, 2014
I have a log book that gets modified through out the day, and an auto run macro that runs at specific times to save the data to a database type sheet, and clear the form for the next shift. some of the operators are double clicking in the cell so they can type their comments. If they do not hit tab or enter when they are done, and the save time comes, the macro is not running, and I'm not collecting the data that I need. Is there a way to force the macro to run, or to force a tab/enter after 3 minutes of inactivity?
View 4 Replies
View Related
Sep 26, 2008
My business has a significant number of Excel sheets interlinked. One of them has about 10.000 links to about 60 files. Those 60 files are within a sub-folder and once a quarter the business needs to replace all 60 files with a new set. To establish this, they replace the sub-folder name in the link with the new name. To do this on 10.000 links takes about 72 minutes because Excel seems to open up a file for every updated cell. We tried to stop this by changing Excel to calculate manual, disabled "Update remote reference", but this didn't improve anything.
We have similiar issue when opening/updating the master file - it takes around 3 mins.
Besides that a proper database is certainly better for this requirement, is there anything we can do to improve the performance of the replace method. I was thnking about stopping Excel from validating/updating each single cell and after everything has been replaced to do it in one go without Excel opening and closing 10.000 times a file.
View 4 Replies
View Related
Oct 16, 2009
I am making a workbook where the G column is drop-down menus that are populate a drop down on the H column. Whenever someone changes the selection of the G column I was to erase what is in the corresponding H column. I have this code that works, but I need to do this for 100 lines. Is there any way to put this into a loop instead of writing 100 if statements?
View 6 Replies
View Related
Oct 29, 2007
how do I restrict editing to certain columns/Rows and allow some to be edited by users?
View 2 Replies
View Related
Jun 4, 2014
Once an individual selects "NO" in column "O" I would like the rest of the columns to be grayed out so the no other information can be entered except for the last column for notation purposes.
View 3 Replies
View Related
Aug 7, 2008
I have columns in my spreadsheet that will be getting updated periodically with a number. 1 week it might be 24, the next it might be 26.... and they would go in January's price, February's price....
The problem is, if a price is entered into the column, we don't know when it was entered other than the fact that it was entered in that month.
Is there a way to show the date and time of when a number gets entered or edited in a cell? This date/time could perhaps show up in a column right next to it.
View 10 Replies
View Related
Jul 7, 2014
I am making a spreadsheet in which I have been asked to have certain column greyed-out based on an answer that was given in a dropdown menu. Specifically, a dropdown menu in column D asks if the client was a Youth or an Adult. Depending on what the anwer is, other columns in the spreadsheet will be greyed-out; different ones for each answer. My problem is, I need this to occur for the active row being editted. For example: The first row that the user can input data into is row 4. If D4 is answered with "Adult" then certain other columns are greyed-out. However, if the next time the user updates the spreadsheet with information for a different client (now entering information in row 5) and they select "Youth" for column D5, then different columns get greyed-out. The columns that are greyed-out will depend upon the answer for the dropdown menu in column D for whatever row is actively being editted.
View 5 Replies
View Related
Apr 24, 2014
Trying to get a record of who authorized spending in one of my worksheets and when they did it
I had some VBA code in one of my worksheets which added a time stamp and a user ID to two different cells after the user enters their name. Why it is no longer working, though I suspect after moving the worksheet around.
I would like my users to type their name into cell G65 (which is actually merged from G65-K65). Once the user enters their name, cell L65 (which is actually merged L65-O65) populates with the current time stamp. Also, when the user enters their name into cell G65, I would like cell P65 (which is actually merged into P65-S65) to auto populate. I would like this all of this to go down through line 70.
View 1 Replies
View Related
Oct 7, 2008
In cell a3 user selects yes or no. Then in cell b3, if they selected yes for a3, a pop up box should appear which asks for a value (1-100), and if they selected no for a3, then b3 automatically becomes zero. How can I do this.
View 9 Replies
View Related
Jan 8, 2010
I have a macro that deletes the row where the active cell is on. Works perfectly.
I want to have my macro display a pop-up box that gives the user the option to either delete or not delete the row.
I would like the question to read . . . Are You Sure You Want To Delete?
View 6 Replies
View Related
Nov 2, 2007
I'm trying to write a code (and I have little to no knowledge of VBA!) so that when a line is inserted onto any worksheet in the workbook a msgbox appears....
Trying to get it myself I created this- it's probably COMPLETELY wrong, like I've mentioned I have little to no knowledge and just using websites/other codes I've seen to put this together... o.O
View 12 Replies
View Related
Oct 6, 2008
Borowed This Code From The Site And Indeed It Comes In Very Handy .....
View 9 Replies
View Related
Nov 3, 2008
How do you create a pop-up box that opens every time a specific worksheet is activated that asks "What was the first month of activity?" The month that is entered needs to populate in Cell "A7". I also want the 11 months following the answer to the above pop up box to populate in cells A8-A18.
View 7 Replies
View Related
Dec 8, 2008
to create a macro that will launch a pop up box once cell B5's value is equal to "3".
I need the pop-up box to say, "You win the game!"
View 10 Replies
View Related
Jun 2, 2009
Is it hard too add a popup calendar too my date box. Can it go too year 2075?
When you open the calendar you could click on date too install.
View 3 Replies
View Related
May 23, 2007
I'd like to have a warning message pop up if the value of column AF is 3 or less.
Column AF is counting entries in columns E:I by using the formula
=COUNTBLANK(E1:I1)
to create the value
A value of 5 is OK (no data in E to I), and 4 is also fine (just one entry in E to I) A value of 3 or less, indicating more than one column in E to I having data, needs to display the message. Presently I have a conditional format on another column to display red background when AF is 3 or less, but it's a little ambiguous, so a message would be neater!
View 9 Replies
View Related
Aug 16, 2007
I like to know if this can be done. The entry of data for cell A3 is from a pre-determined list. I like to create a Userform to allow the user to select from this form. the idea is to have this form popup whenever cell A3 is selected.
View 9 Replies
View Related
Dec 9, 2008
Codes are entered manually only in Column A starting at A1..A10000+ ranges.
As Unique codes are entered ie. 1234 or 2345 or 3456 in the next empty cell down,
I need a specific popup message for each of the three codes instructing the user what to do next.
View 9 Replies
View Related
Nov 18, 2009
I script that on open would pop up asking if a sync was done with an option for yes or no. If yes is pressed then it would just open, if no selected it would give a message "must sync before use" and close the workbook.
I do not want this message to pop up when other spreadsheets are open when this one is still open so im guessing private workbook_open
View 9 Replies
View Related
Nov 25, 2009
I am designing a program which basically calls another program for all dates back to a specified time. Certain dates will not have data and there will be a pop-up message saying something along those lines.
What I want is a way for VBA to "know" there has been an error message (so I can set a boolean to true or false so I can do an if tree) and then also a way to click "OK" to proceed through the error message.
View 9 Replies
View Related
Nov 18, 2009
Is it possible to create a popup window that contains drawing objects?
I created a "form" with the objects, but I don't know how to use the form.
I want to have this image, or form, or whatever it is, to popup when the user clicks a cell. Is this possible without getting into programming?
Can it be hidden and then made visible when the cell is selected?
View 8 Replies
View Related