I wanted to compare data entries between different versions of a protected worksheet. The results of the conditional statement [ if(test, true-result, false-result) ] always came back "0" for both paths. Any suggestion other than copying all of the data to unprotected workbooks and then running the tests?
I'm in need of some VBA code to control the updating of information from 16 active workbooks to a master workbook and vise versa. I would like it on command as it slows down the use of the workbooks when they calculate after every change of data as they are being used. These workbooks are connected over a company intranet and are used 24/7.
The desire is that cells in the master workbook will read specific cells on each of the other workbooks and complete a "map display" of the data. The data is not in a column or row range side by side but scattered across the sheet to form a map when data is entered.
I've tried using code to open and close the workbook with on time events but that hasn't worked.
I have the following code that should open all EXCEL workbooks in a specified path, and unprotoect any password-protected worksheets to allow for Link Updates, then close the workbook after password protecting it.
sub UpdateAllLinks() Dim vLinkSources Dim iLinkSource As Integer Dim AnySheet As Worksheet sPath = " C:Documents and SettingsShaneMy DocumentsHarcourt Assessmentspassword" sName = Dir(sPath & "*.xls") do while sName <> ""...............
I'm looking for some way to open multiple protected workbooks in one time, these workbooks has been protected , but all with the same password. usually, when i open one workbook, open ,enter password, but there are so many of them that i want to open all these workbooks in the same time, the problem is each workbook showed a enter-password box, it so inefficient, i want all these protected workbooks show only one enter-password box.
I've 10 workbooks (which represent different areas around the factory) that populate a master workbook (belonging to HR).
We've now started to password protect the 10 workbooks. When i open the master workbook and click update - i get prompted to enter the passwords of the 10 workbooks
My question - is it possbile to automatically have the passwords entered so that the master can get updated?
I am having an issue with a macro to open password protected workbooks. The macro works just fine in opening the files and whatnot, but for some reason it prompts me to enter the password again once the file has been opened. Funny thing is I can either hit OK or hit Cancel and it goes to the next file. All files open correctly, I was just curious as to why this is happening and how to correct it?
I have a Vlookup in a shared workbook looking in another shared workbook for the data I want. I open the file and click "Update Links" but I then get the following message box:
"This workbook contains one or more links that cannot be updated. -To change the source of links, or attempt to update values again, click Edit Links. -To open the workbook as is, click Continue.
I know this message is trying to tell me it can't find my links, but the path/workbook/ sheet are correct and the numbers are getting updated. I'm worried the message will deter the other users of this workbook from allowing the use of the vlookup.
I have master file (workbook) and 20 workbooks for 20 employes. All have the same columns excepte the master have the column (employe name),i want update master file from all 20 workbooks.
Master file
Column 1 = Employes name column 2 = Requisition number column 3 = amount of the requisition
Employee workbooks
column 1 = Requisition number column 2 = amount of the requisition
I have two workbooks, one is reference (W1), other is the one that needs update(W2). I need macro that compares reference column in W1 with targeting column in W2, then for match cells update two or more cells in same with new data from reference cells in W1, and for end to report what data in W1 in reference column wasnt find in W2. I tend to use macro in reference book W1, and to update book W2 without opening, so I need this macro to work just with file manager from excel . No need for user modul for targeting columns, they are static in both woorkbooks. In practise in W1 is invoice prices with part numbers, at other one is the same, but with prices for distribution (with formulas), I want ti automaticly refresh part numbers with new prices, an to have report what part numbers are not in price list (W2)
I have a workbook that links out to numerous other workbooks for current data. After one of the supporting workbooks gets up dated, I return to the master workbook.
Here, I need to see the updated results. The only way that I can find a way of updating the master is to close and save it and then re-open.
Is there a way of updating the master workbook using a macro?
I have 30 workbooks closed and i want update a cell (f.e. b4) in all the workbooks. Need code to open the files, update the data in that cell and close the workbook.
I have a client with approximately 4-5000 Excel workbook files that all contain the old Jet connection string and these files do not run under Office 2010 without changing to the newer ACE connection string. It is just too much to open each file and change the connection string.
Is there a way to do a mass change - like global search and replace - the connection strings in the files? I have a text editor that is able to do that but I fear it may mess up the file.
I am trying to find some VBA that will allow protected cells to be updated when a user enters or selects data in other cells.
For example:
Cell 'A1' starts out blank. Cell 'B1' has a drop down to select specific items. Cell 'C1' is the date of the order and is a locked cell. Cell 'D1' is the date of completion and is a locked cell. The worksheet is protected to prevent direct changes to cells C1 and D1.
If a user enters any information in A1, then C1 displays the current date. If a user selects 'Complete' from the drop-down list in B1, then D1 displays the current date. Both of these actions are independant of one another. This format is the same for every cell in the 4 columns indicated above. I thought I was able to do this in another spreadsheet I created a year or so ago but I have not been able to figure out what I did and I do not have the spreadsheet to look at.
I've created a spreadsheet that I want to offer for sale.
I've protected all cells with formula and those not needed to use the program. The only cells that can be selected/changed are those that need the values for the calculations.
How do I protect the sheet from being saved/stolen when trialed by possible customers?
I have joined some cells using '&' which is formed a formula. But till I am not pressing f2 button on that cell and then pressing enter key, the formula is not working.
I am attaching test sheet here, If you press F2 Button in cell H2, then press Enter key they only it will show the value of A1.
At work my cells that have formulas just stopped updating when I am working live within the workbook. But if I save the entries I made into the cells exit the program and go back in they update..
I have a very large data sets that I'm working with in excel 2007 and I have to continually filter and unfilter the data by groups. I want to know if there's a way that I can have the values from my formula update themselves each time I filter/unfilter the data. Suppose I have a table like this:......
Where there are two groups, A and B, and each person has an age, and then the third column we have a ranking. This ranking in third column is computed by sorting the data by age and then by group, and then we set the first entry to 1 and then every other entry has an "if" equation where if the group is the same as the previous column then we add 1 to the ranking, and if not then we set it equal to 1.
Now say that just as a thought experiment we want to only look at females and have the rankings for females. If you do a basic filter and select only show girls what you get is:.............
I have a list of budgets on a summary page. They correspond to a tab name with the budget detail.
I want the formula to automatically pick up the tab name from the list.
How can I use the list from the summary to point to a cell within a budget tab. an example is attached.
I realise some of the formulas on the detail tab need to be sorted but I needed to remove some sensitive work info from it :o) (Dont want to be losing my job)
I have a sheet with formula in various cells that are referenced to a sheet that doesnt initially exist. For example one formula on the sheet is: =If( 'WF Tracker 2008'!$D$5=AN$4,INDEX('WF Tracker 2008'!$B$6:$P$10, MATCH($E36,'WF Tracker 2008'!$B$6:$B$10,), MATCH(AN$7,'WF Tracker 2008'!$B$6:$P$6,)),IF(AN26="N/A",AN31,"N/A")) and initially, sheet 'WF Tracker 2008' doesnt exist so the formulas all produce #ref! values which I expect. My problem is that I Run a macro that creates the sheet 'WF Tracker 2008' but the formula dont want to refresh/update unless I individually go into each cells formula in the formula bar and hit return.
I have some formula's that look at a range of rows
[Code] .....
The trouble is I insert rows to add new data to my sheet, this then changes the formula. $A$9 then becomes $A$10, I don't want this. I want the start of the formula to stay the same. How do I do this?
I have a userform that populates a list of names. As a name is added in column "D" column "C" updates a reference number using the formula =IF(D2="","",C1+1). I can get the formula to copy to the spread sheet but as a new name is added the formula stays the same. If I enter a name in cell D2 everything is fine but when I make the next entry in row 3 the same formula is entered as if it were text and not as a formula. so I wind up with a column of formulas that all say =IF(D2="","",C1+1) reguardless of what row the formula is in.
I have cells (range named Formulas) in a worksheet A (wsA) linking to another workbook. This workbook has several sheets, each a different forecast. From a Radio Button Group on wsA I would like to choose forecast, FC1-FC3, and then all the cells in the range Formulas would be updated with the choosen FC.
I would like a VBA script to handle this:When the workbook is activated the present Forecast in the Radio Button Group should be stored as a variable (oldFC)When I choose a new forecast, the value should be stored in a new variable (newFC)I then want to loop through the whole range (Formulas) and update each cell and it's part of string value to the newFC
Before update: wsA cell N3='H:[5500-plan-06.xls]FC 3'!N$16 wsA cell N4='H:[5500-plan-06.xls]FC 3'!N$17
When new Forecast is choosen this should be update to: wsA cell N3='H:[5500-plan-06.xls]FC 1'!N$16 wsA cell N4='H:[5500-plan-06.xls]FC 1'!N$17
In my "example" I have references in Summary!D23:E32 which take data from Input!B36:U36. Is it possible to automatically update these formulae if a row is inserted eg above my row 37? The formula in D23 should then change from =OFFSET(B37,-1,0) to =OFFSET(B38,-1,0) and so on. I would like this to occur wherever I insert a row. I am using this code, but it inserts rows consecutively from the top only.
Sub InsertVolRow() Dim iRow As Long, iColumn As Long On Error Goto Exit_Error iRow = Application.WorksheetFunction.Match(" Total", Range("A:A"), 0) Rows(iRow).Select Selection.Insert Shift:=xlDown iColumn = Application.WorksheetFunction.Match("Total", Range("2:2"), 0) Cells(iRow - 1, 1).Select Selection.AutoFill Destination:=Range(Cells(iRow - 1, 1), Cells(iRow, 1)),
I am working on a spreadsheet that matches each cell in Column B (text) with the data (text) in a constant cell; if there is a match, the data that corresponds to the data in Column B (text) will average (Column G, number) using a CSA formula, for example: =AVERAGE(IF($B$3:$B$106=A$110,$G$3:$G$106))
Now the formula above works well, only I have to update the spreadsheet, so when I add new rows the $B$3:$B$106 and $G$3:$G$106 portions are useless.
Trying to use the INDIRECT function that many people successfully use in this forum, produces a #VALUE error,
Excel 2007 - need to adjust protected view settings but the protected view tab is missing from my Trust Centre settings - have the following tabs - trusted publisher / location, add-ins, activeX, macro, message bar, external content and privacy options. Document is a revenue authority download and without being able to adjust the protected view settings, can't input data.