Stop Formula Viewing Without Protection
Dec 13, 2006
I am looking for the code to keep certain cells from being rested on, they can be clicked on but in order for you to view the formula in the cell you have to hold down the mouse button otherwise it will move you over to the cell next to it. I was using another worksheet a while ago and was trying to view the formulas but when I clicked on the cells holding them it would move me to the next cell, the only way I could view them was to hold the mouse button down as soon as I would release it it would be gone! I do not want to protect the sheet, if there is another way to hide formulas I am open to all ideas!
View 4 Replies
ADVERTISEMENT
Sep 12, 2006
I'm protecting a spreadsheet with Excel 2000. For that i used the Excel functionality : Data -> " Validation"
Unfortunately, I can not protect the all sheet or workbook (Requirement). So even if the cells are protected by "Validation", any user can delete the cells using the key DELETE or BACKSPACE on the keyboard !
VBA Macro (which could be activate at each change on the sheet for example...) ? or if it's possible to avoid cells deleting with the "Validation" in the Excel Data menu ?
If it's a macro, it would do :
1 ) see if a user is pushing DELETE or BACKSPACE on the keyboard
2 ) see if the cell contains formulas
3 ) if yes, make a box appears to say that is not possible to delete this cell
4 ) return on the Excel sheet without changes
View 9 Replies
View Related
Nov 28, 2006
I have a cell with data validation: list, that allows values contained in named range. I want to disallow to delete contents of this cell (with 'del' key, or when i edit cell, delete text and then press 'Enter'). Is it possible to do with formula or VBA
View 4 Replies
View Related
Feb 4, 2008
is it possible to restrict a cell in such a way that it is impossible to type data into it, but rather select data from a drop down, through validation?
View 9 Replies
View Related
Jan 6, 2010
I'm referring to a post I tried to solve:http://www.excelforum.com/excel-gene...ml#post2227328
NO need to read. Try the attachement instead.
Steps done:
Select Column D
CF function =D1<A1
Select Column A
CF function =A1<D1
If I select cell D3 and look at the CF then I see:
CF: =D1<A1
where I would like to see
CF: =D3<A3
I remember this was the case in <=XL 2003? (now using 2010 beta)
View 4 Replies
View Related
Jul 14, 2007
I have a small piece of code which runs without protection but won't create the data validation list if protection is enabled:
Sub WorkSheet_Activate()
ActiveSheet. Protect UserInterfaceOnly:=True
End Sub
The code is:
Private Sub EqOther()
Cells(6, 9) = ""
Cells(6, 10) = ""
Range("i6").Select
With Selection.Validation
.Delete..................
View 3 Replies
View Related
Feb 11, 2004
I'm trying to set a cell so that it has a certain value based on other cell(s) information. I can put a formula into the cell to do that, but I also want to make the cell available for user input, preserving the formula should the user change their mind and delete their input.
Basically, it's a cell with a protected formula that can be overridden with user input, then if the user decides to take their input back out, the formula kicks back in.
View 9 Replies
View Related
Aug 18, 2004
I recieve an error :
Run-time error '50289':
Can't perform operation since the project is protected.
When i try and run my code.
The code does add parts to modules and workbook events, but I need the code to be protected.
View 9 Replies
View Related
May 11, 2009
I have the following formula: ....
View 9 Replies
View Related
Dec 13, 2006
my excel sheet runs through a lot of calculations, opens Flowmaster, a simulations program, passes on data, receivs data and so on. Is there any way to have a user input to stop the whole simulation. During the first tries I had a lot of break point in my debugger. But now I want to have a button to hit or better just some keys to hit to stop it without using the ctrl+alt+del which closes everything.
View 4 Replies
View Related
Aug 14, 2014
I am trying to stop a countdown of days when a value is entered into an adjacent cell. I have the following formula in E4:
=IF(NOW()<D4,DATEDIF(NOW(),D4,"D"),-DATEDIF(D4,NOW(),"D"))
I want this countdown to stop when I enter a date into F4 and that the number of days still shows within E4.
View 1 Replies
View Related
Jul 16, 2009
I have the following formula that sometimes returns an #N/A value. Is there a way I can stop that from happening?
View 9 Replies
View Related
Apr 8, 2009
Workbook containing macros and formulas. The workbook will create worksheets automatically by macros and uses the same formulas in the worksheet. After creating the 10th worksheet these formulas stop displaying the result. They showed #N/A but in actual there supposed to have a values in each of the cells. By manually clicking the formula bar and pressing enter these values will appear.
View 9 Replies
View Related
Apr 21, 2009
The attached file contains hypothetical data on a basketball player's success from the free throw line. It lists the number of free throws attempted and the number made and then divides the number made by the number attempted to calculate the free throw percentage. However, I keep getting a # DIV/0! error in the games free throws weren't taken. How do I write the code so that when the error occurs, a message is displayed to the effect that no percentage can be reported because no free throws were attempted by checking the cell in column D? How do I use the IsError function to figure this out?
View 2 Replies
View Related
Aug 7, 2007
I am working on a formula that, eventually, I would like to be inserted into cells using VBA's FormulaArray Range function. Unfortunately, in its present state, the formula is too long and clumsy to meet the 255 character limit on that function. While I know that I can easily shorten the current formula with simple adjustments, such as using named ranges, I still am forced to ask whether the design of the formula itself could not be improved.
The heart of the formula is an Index/Match combination which will search if any line on the 'Archive' sheet meets the three criteria on the line specified in the 'Data Log' sheet. If so, it returns the value from a particular column of the matching row on the archive sheet. If not, it returns N/A.
=INDEX(Archive!$E$1:$E$1999, MATCH(1, IF(Archive!$B$1:$B$1999='Data Log'!$A2, IF(Archive!$A$1:$A$1999='Data Log'!$C2, IF(Archive!$D$1:$D$1999=1,1))),0))
In an effort to circumvent this unsightly N/A result I have attempted to use the ISNA function paired with an IF statement. The idea is that if the result is N/A then "Pending" will display instead. Otherwise the result of the indexing formula will display. This approach is outlined below:
=IF(ISNA(index function), "pending", index function)
The problem, of course, is that the indexing formula is rather long, and, with this approach, I am required to put its entire contents in the formula twice. I would greatly appreciate any help in streamlining this formula. Remember, the final goal is simply to search the 'Archive' sheet for a single line meeting three criteria and return a value from a fourth column, or if not return "pending".
View 5 Replies
View Related
Feb 15, 2008
I want to stop the formula auditing from working in one workbook without having to change settings in excel, is this possible?
View 3 Replies
View Related
May 21, 2014
I'm trying to create an excel spreadsheet that keeps track of the highest value from a dynamic series. First a bit of background:
A manufacturer produces widgets made from gold. Therefore in order to quote manufacturing prices, they typically get a live gold price using Excel's web services and if the live price is higher that the last gold price they used, then they update their base price list for gold components. If the live price is lower than the last gold price they used, the last gold price does not change.
I'm trying to produce the above logic in Excel using:
Cell A1: [Excel data connection to pull live Gold price] - no problem here
Cell A2: dynamic 'price' that only updates if cell A1 is higher than cell A2
Cell A2 is where I'm getting stuck. I can't think of how to create a formula that updates cell A2 if cell A1 is higher.
View 3 Replies
View Related
Jun 10, 2006
I entered a simple formula in a cell =B14*B16 but it won't calculate. The cell only displays the formula and not the result. tell me what I did wrong. I've attached a sample.
View 2 Replies
View Related
Jul 6, 2006
If I have a formula that uses cells that are currently blank - and then run a macro that puts data into those cells - the original formula cell ranges change - even if I put $ within the ranges.
i.e.
Cell A1 has formula = sumproduct(e1:e10>10)
Currently cells E1:E10 are empty
Run the macro
E1:E10 now has data in.
But formula in cell A1 now reads something like =sumproduct(E13:E23>10) or could read =sumproduct(Ref#>10)
View 9 Replies
View Related
Mar 17, 2014
I have a file that tracks orders placed.
Column A gives the request date of the order, based on the TAT in column B the projected dispatch date gets calculated.
Once the order is dispatched and the date gets updated in column Z, the redemption status in column V gets updated as "Dispatched within TAT" or "Dispatched out of TAT" based on whether they have met the TAT or not. If the dispatch date is left blank then it shows "Yet to be dispatched".
My problem is that the column D does not stop calculation even after the order is dispatched. And therefore because of the conditional formatting turns red the minute the number is more than 0. So it is misleading.
View 3 Replies
View Related
Sep 3, 2006
A1 refers to B1 which contains a number or #VALUE!
What could I use in A1 to return a number and if B1 = #VALUE!, a zero.
View 9 Replies
View Related
Nov 1, 2006
I am trying to cut/paste a row of formulas in my spreadsheet. The problem is that I want some of the referenced cells in the formula to stay CONSTANT and not increment on each new row. In this example, I want the references to row 17 (F17,E17) to increment (E18,E19,...), but I want the "G7" reference to remain hard coded (as G7) on each row I paste (because that is where my master value is). (The formula is working fine) =IF((F17>0),IF((F17<=G7),E17,0),0)
View 3 Replies
View Related
Sep 24, 2009
Is there a way so that on his computer he can tell Excel that each sheet to be viewed should have a standard/automatic view set to 100% or another percentage?
View 3 Replies
View Related
Oct 22, 2008
I've done the following steps so far:
Tools
VBAFormatProperties
Checked the "Lock Project from Viewing"
Applied a password
and clicked Ok
View 3 Replies
View Related
Jan 18, 2012
I have a workbook with several worksheets. I need to prevent users from viewing worksheet mgrview unless they have a password for it.
View 1 Replies
View Related
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
Feb 17, 2010
is it possible that when i open a .csv file in excel i can make it only display some of the columns? The program i am using exports more info then i need and it gets very tiresome to delete each column manually.
View 9 Replies
View Related
Jan 23, 2007
I am not sure why but when I opened a particular file, the file hides somewhere in Excel. I am unable to view the file but when I try to open the same file again, Excel prompts that the file is already open but I can't see the file.This is an important file at work and I am not sure how to actually get to view the file. I tried copy and pasting the file in another location and then trying to open in Excel. However, the same thing happened.There is no error message.The file is opened but I am unable to view, as it seems to hide from view.Is there a solution?
View 7 Replies
View Related
Dec 27, 2012
I have a semi-large macro which I have been creating on and off for a few months now. The file will fundementally be used by people with little knowledge of Excel, hence I force the user down certain alleyways depending on what they have previously done with the aid of veryhidden sheets and such like.
Upon opening the file, some code is ran to hide all of the sheets in the file apart from the home page. This is a pain when I am still working on the code though, so a portion of it is commented out. When I uncomment the "on error.. - next sheetIn" so that the file runs as it would be used, the code itself works perfectly and hides all of the sheets apart from the home page. Unfortunately, I can't then view the VBA code as it instantly crashes Excel (and any other Excel file I currently have open). This happens whether I click the Visual Basic button in the Excel ribbon, whether I try and access it through the design mode on a control, pressing Alt+F11 or even opening up another spreadsheet containing code and attempting to click on the broken macro after viewing the VBA code for the working spreadsheet.
VB:
Sub workbook_open()
'stop screen flickering whilst running the code
Application.ScreenUpdating = False
[Code]....
The only way currently to get back into the code is to open the spreadsheet up with macros disabled and recomment the code, but obviously this loses the function of the code.
View 3 Replies
View Related
Oct 30, 2011
I have large workbook with various sheets. In my first worksheet I have some command buttons that call each sheet as needed. However, I would like each sheet to be displayed either as a web page or in a way that the user does not see all of the menus, bars and so on.
View 1 Replies
View Related