Copying A Cell Demands A Password.
Dec 5, 2009
I created a 2007 workbook and distributed it to someone else. Now they have returned it I find that I can't copy any cell without a password window opening asking me for the password.
The user insists he has not added any password functionality and I can't immediately spot what it is in Excel that is restricting me. In the Ribbon under the Review tab the Unrestricted Access is selected and the sheets I'm trying to copy from are not protected. I can't see anything in the VBE and in any case the user would not have known how to change or create anything.
View 3 Replies
ADVERTISEMENT
May 8, 2012
I'm looking for enabling an excel file with a password that prevent it to be copied on an another drive.
View 1 Replies
View Related
May 27, 2009
When opening a new Excel file, it is asking me for a password to an old excel file that was password protected, which I have deleted from my computer. It is still asking for this password every time I open a new or existing file. When I hit cancel it lets me open the file.
View 11 Replies
View Related
Mar 21, 2007
I have a spreadsheet, which has certain worksheets that are password protected. I need to make changes to some of the formulas, and the VBA modules, however I cannot remember the password!! Is there a way of identifying the password??
View 3 Replies
View Related
Nov 28, 2008
I am havng problems with the belwo macro code -
Range("G7").Select
Selection.Copy
Workbooks.Open Filename:= _
"Q:PublicPAYMENTS Q&RREPORTSSuspense Activity BUSINESS2008 - Suspense BUSINESS - Activity Reports2008 Avon.xls"
Application.CutCopyMode = False
ActiveWorkbook.Save
ActiveWindow.Close
End Sub
When i open the workbook it requires me to insert a password, i tried to type this but excel will not follow keystrokes, i then inserted the password in cell G7 which i then copy and paste, which you can see the copy at the beginning of the macro.
Is there a way where you can get it to insert the password so i can open the workbook in a macro.
What im trying to do is save 26 suspense spreadsheets by just clicking on a macro.
View 9 Replies
View Related
Jan 12, 2007
I have a sheet that is password protected. I have this code attached to a command button. It will unlock the worksheet, autofilter it, print it, unfilter it, and password protect the sheet again. However it is protecting it without a password. I need to have it protected with the password so that someone will not be able to just go to tools to unprotect the sheet.
Private Sub CommandButton1_Click()
ActiveSheet.Unprotect "rainforest"
Columns("O:O").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:=">0", Operator:=xlAnd
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.AutoFilter Field:=1
Selection.AutoFilter
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowSorting:=True, AllowFiltering:=True
End Sub
View 3 Replies
View Related
Mar 15, 2007
i want to protect or give password in only one cell plz let me know how can i do this reply me as soon as possible
i m in touble to give password in one cell i want when i try to put any thing on that cell it will
View 11 Replies
View Related
Aug 7, 2014
I have a macro that locks the cell (cell rangeis given) after entering data into cell & thereafter if we have tochange the value of cell it asks for password. It works well.
I want somechanges in this macro - currently if I move cursor on locked cell then alsoit prompt for password & i want if i edit that cell by double click or F2then only he ask for password.
View 4 Replies
View Related
May 22, 2008
I am trying to password protect user input on a specific text entry, for example if a user tries to enter the letter A they are prompted they require a password (I am trying to do this for authorisation.).
View 3 Replies
View Related
Jun 18, 2014
I have a worksheet where parts of it is locked with a password. I have a data validation cell with a drop down list. I want to set a password to select and change only that cell.
I don't want the list in the cell to be shown without the password
View 3 Replies
View Related
Jun 23, 2014
I trying to create a paperless petty cash system. I have my sheet all setup and calculating how I want. When a user makes an entry they Enter their name in column "W".
I am trying to overcome the problem of accountability. I need to achieve a cell calls for Username and Password and if correct the persons name is entered into cell then Row is locked to prevent figures being altered etc. But also if user made mistake they need to unlock it somehow someway
Sure this achievable from snippets of info I seen online but its way beyond my abilities. I realise a determined user can circumvent this if they wanted to.
View 5 Replies
View Related
Dec 11, 2006
This is my input for password prompt:
Sub CommandButton1_Click()
Dim wSheet As Worksheet
On Error GoTo ErrHandler
Currently, my excel is protected with a password "PSWD" when users open the file. In my vba script, I have a function that can unprotect my excel without any password input box to the users. This method is to unprotect the file and allow users to do any formating columns and rows tasks, such as add or delete cells. After users finish their job, the file will be protected back. The function is such as below:
Dim wSheet As Worksheet
For Each wSheet In Worksheets
Application.ScreenUpdating = False
If wSheet.ProtectContents = True Then
wSheet.Unprotect Password:="PSWD"
Else
My questions are:
1. How I can create a hidden sheet that has one cell populated only?
2. How can I assign the password that the user enters at the "TextBox1" (first code) to a cell of of the hidden sheet? Do I have to modify the first code?
3. For the second code, how am I going to assign the value to at the wSheet.Unprotect/Protect Password:="..." with whatever the user has previously chosen as a password that refers at the hidden sheet?
View 9 Replies
View Related
Jul 11, 2014
I'd like to be able to unlock the whole of a workbook by putting the password into a specific cell and then the whole thing locks again when it is saved. I have been able to find the coding to do this for a worksheet but I'd really like to be able to unlock the whole project.
View 7 Replies
View Related
Jun 20, 2014
I have a macro that copies all my sheets onto a new sheet called combine. It is pasting onto the combine sheet starting on cell A2 instead of cell A1. Following is my macro.
Sub Combine()
Dim J As Integer
Sheets(1).Select
Worksheets.Add
Sheets(1).Name = "Combined"
On Error Resume Next
For J = 2 To Sheets.Count
Sheets(J).Activate
Range("A1").Select
Selection.CurrentRegion.Select
Selection.Copy Destination:=Sheets("Combined").Cells(Rows.Count, 1).End(xlUp)(2)
Next
End Sub
View 4 Replies
View Related
Jul 3, 2013
I'm having a column called "Body". Each cell in this column contains a huge amount of text. I want to select automatically certain values from that text and copy them into other cells. This image will explain what i mean:
I tried to work with the function MID but that doesn't work because the values don't have a fixed position. They don't start always at the same character number.
View 3 Replies
View Related
Jul 25, 2013
I have run an INDEX and MATCH formula to give me a resultant cell reference number. I now want to copy a cell to this specific cell reference using another formula.
For example the data I want to copy is in cell A1 and in cell A2 I have the result of the index formula (B1).
I know how to manually do a formula for this but wanting to know if there is a uniform formula that I can use that looks at the formula result of cell A2.
View 5 Replies
View Related
Dec 23, 2006
123569LOC23 is in one cell and I am trying to copy the "LOC23" to a new cell. However, the amount of digits vary: LOC23, LOC1,LOC15 etc all the way down the column.
View 9 Replies
View Related
May 15, 2014
I want to copy the current region on sheet 3 and paste that into sheet2 starting with cell E4. But I don't want to actually use the copy method. I believe there is a way to do this. I was thinking the following:
[Code] ......
The idea I had was to simply state that cell E4 would be assigned the value of CurrentRegion on sheet 3. Is there a way to bypass the copy method?
If not, how to copy, then paste?
View 2 Replies
View Related
May 16, 2014
I want to use the little dot in down right corner of the cell to copy the cell content and the formula correctly.
But now the problem: every time I use it also copies the cell formation.... Is there a way that it only copies the content, but not the formation?
View 5 Replies
View Related
Sep 18, 2009
Basically I have a filtered list in colunms A to D. The user selects a cell in column A and I want to then be able to run a macro which copies that cell and the adjacent one in column B, into columns A and B on sheet2.
The complications are
Column B on the second sheet is merged with columns D to E so a straight forward cut and paste of A and B on sheet 1 into A and B on sheet 2 will not work in one cut and paste as it complains about merged cells. It would need to copy and paste A and then copy and paste B to avoid the error.
The row on sheet 2 where it is being pasted needs to be the first row between row 10 and row 30 where col A is blank (so it doesnt overwrite a previous copy and paste as they are basically creating a list on sheet 2 in those rows by runing this macro repeatedly). if there is no blank row then it should insert a new row at row 10 and paste into that
View 9 Replies
View Related
Feb 8, 2014
I'm trying to build a macro that copies the information from cell D2 and then special pastes it into the next free cell on that specific row (as the information is from a vlookup so don't want to paste the formula) - ideally I'd like it to paste from H2 onwards but can move the spreadsheet around if that's not possible! I'd then like to do this for every row until there is no data in a row.
I've been using the below which I've found on the internet but this only pastes into column H and then just goes down the column rather than across the row, and I can't figure out how to do this.
Sub Summarize()
Range("D2:D25").Select
Selection.Copy
Sheets("Pot 2").Select
lMaxRows = Cells(Rows.Count, "H").End(xlUp).Row
Range("H" & lMaxRows + 1).Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Range("D25").Select
End Sub
View 7 Replies
View Related
Sep 7, 2007
I have just generated a report of current customer numbers for our company. Unfortunately it reports it as "162 (162)". No idea why the program does it like that because it now makes using VLOOKUP very difficult.
What I want to do is copy the "162" part of the cell and paste it into the adjacent cell to make it easier to manipulate the worksheet. All of the customer numbers are in column D if that makes a difference.
View 9 Replies
View Related
Apr 29, 2009
What I'd like to do is to input the value "Agent" into the yellow cell if there is not the word "Agent" already there. The position of the "Agent" cell will vary but is always located directly above the block of names below it.
View 3 Replies
View Related
Dec 12, 2007
I am trying to make the cells Iam am copying paste hidden cells with all formats - seems to work fine other than the security part of them, Iam makeing a sheet for work and just trying to make it were it will not get destroyed by other users-
View 12 Replies
View Related
Aug 18, 2014
I found a formula that would copy only the last 2 digits of a previous cell and put it in a new cell. For example below, I want the cells to the right of the below to be:
12345 45
26548 48
21854 54
211ae ae
I thought it was a =right or something.
View 1 Replies
View Related
Dec 23, 2013
I have some cells with specific names, I want to copy them and keep the names. How can I do this?
View 6 Replies
View Related
Jan 20, 2009
I am using to copy info from a cell to ta text box that I created using the tool box.
View 2 Replies
View Related
Sep 11, 2009
I have a spreadsheet that people enter in their daily production numbers. In this spreadsheet, I would like them to hit the "save" button and it will put the total into a cell below that date. If they hit "save" multiple times during the same day,
I want it to overwrite the cell below the date. For the next day of production, they will need to do the same thing, except paste the data in to the cell below that current date.
View 7 Replies
View Related
Jan 15, 2014
In effect the code looks at sheet 'data' and creates new tabs depending on the contents of column f and then pastes data from the entire row into those tabs as appropriate - this is what I asked for and works wonderfully. What I would like it to do is to also copy the format of the row that it is copying. (most importantly the cell borders and colours)
I can (I think) identify the copy and paste elements of the code but have no idea what if anything I can change to make this work.
The code is as follows
HTML Code:
Sub CopyData2()
application.ScreenUpdating = False
Call Sample ' this inputs data into column f
Dim rCell As Range
Dim lastRow As Long
[Code]....
View 1 Replies
View Related
Jun 9, 2008
I am trying to copy a certain cell from one workbook to another.
ActiveSheet.Cells(1,1).Copy Destination:=Workbooks("c:directoryfilename.xls").Worksheets("Sheet1").Cells(1,1)
What I am trying to accomplish is to copy the contents of A1 from the current worksheet and paste it in A1 in the other workbook.
View 9 Replies
View Related