I have 2 excel tables that are frequently edited on a laptop and saved to a Dropbox folder. What I would like to do is have a second computer that will have these tables open and constantly updates (periodically or when changes are made). This computer and monitor will serve as a display in a common area (think of it kind of like a flight tracker).
What I have tried: I have tried to enable the Shared Workbook with a refresh of 5 minutes but the display computer is not showing the changes. I would like to make it refresh every minute if a periodic refresh is possible.
Note: It is my understanding that if you reopen the file, the data will update so maybe there is a way to have the file reopen every few minutes? I was able to successfully test this method; If I am able to automate this process without the two excel sheets changing the window positions (using a Workspace file perhaps) it would be perfect.
I've got a spreadsheet with a few queries to extract data into my sheet. Whenever I open the spreadsheet, I get a "query refresh" dialog box, asking if I want to "Enable automatic refresh". I keep clicking on the "Enable" button but I have to keep answering the question for each open. Isn't there a way to set "yean - ok - refresh the data" so that I don't have to keep saying "yes"?
I have a workbook with many worksheets and I want to enable (or disable) it to "Refresh every n minutes" for ALL worksheets, as at the moment it seems I can only specify this option per worksheet rather than the whole workbook?
I have a spreadsheet with a web data import query that is set to automatically refresh whenever I open the spreadsheet,
But whenever I open the spreadsheet, I get a dialog box "Query Refresh" that tells me my workbook contains queries to external data that refresh automatically.. etc., etc. This requires that I click "Enable automatic refresh" to get close the dialog box and start the import.
I want to get rid of the warning box, and just have it run after being started.
I have an excel file with a link to an access database. when you open the excel file it prompts to refresh the data enable/disable. I select enable and the excel file is saved as a different file and the query reference in the new saved file is deleted (static version)
I have managed to write code to remove the database link from the new saved as file but what I still havent figured out is that the source excel file is refreshed automaticly when the script is running. I have set the database properties on automatic refresh on open which works if I activate manualy the file but with script down below, it does not refresh the data automaticly. What is the VB code to refresh the data in the source XLS file??
Sub main() Dim prompt As Long prompt = 200503 Dim objExcelApp As Object Set objExcelApp = CreateObject("Excel.Application") objExcelApp.displayalerts = False objExcelApp.Workbooks.Open "c: emp est.xls" 'this file has the connection with the access database. objExcelApp.Visible = True....................
In sheet1 (SA Awards) I have the source table for my pivot table in Range ("A1:G50"). In sheet2 (Team Listing) my pivot table is located in Range("K2:S13") When I make changes in sheet1 I need my pivot table to update, I recorded a macro to refresh, however have only got it to work via a button & only if Sheet2 is unlocked
Sub PivotTableUpdate() Sheets("Team Listing").Select ActiveSheet.PivotTables("PivotTable8").PivotCache.Refresh Sheets("SA Awards").Select Range("B2").Select End Sub
1. How can I get this to work in the Worksheet_Change Event? 2. How can I password protect Sheet2 & still have it work?
I have a pivot table report connected to an external data source (OLAP cube).I want to automatically refresh the pivot table report everytime the OLAP cube data changes.
I know we can use Automatic refresh on open of workbook or time intervals after which to refresh .But i want the auto refresh to work even if the workbook is already open and there is no definite time interval after which the cube is likely to change.SO,by defining intervals for auto refresh i do not intend to waste time refreshing even if there is no change.
There are multiple pivot table reports and pivot charts connected to the same OLAP cube.
I'm looking to create a refresh/update button for my userform. What I have is various textboxes, of which the last textbox contains input from the other textboxes. For example, I have 3 textboxes. The first one contains months, the second contains years, the third pulls from both the first two.
First: August Second. 2009 Third: August 2009
What I need is if I change the text in either the first or second textbox, I can click the refresh button and it'll update the third box.
I have a program which iterates on command. A plot on the spreadsheet is designed to show the progress of the iteration. However, the plot does not update while VBA is running. What is the command or technique to refresh the plot at an intermediate stage in the calculation?
I am trying to write a creative procedure that on workbook open will check the name of the worksheet if it includes the day's date in sheetname & if it doesn't rename the sheet & delete current region from A1, else exit the sub.
Then runs a query on an Access DB to place in the above worksheet.
I need this due to novice XL & DB (8)users.
This is what I have at the moment on a test DB courtesy of J Walkenbach's sample files .....
I have a Workbook with multiple PivotTables which are feed from an external data cube. I need to update all of this Pivotables to the same date through VBA. The date will be a known variable and it corresponds to the "Periodo" field. I had thought of doing this by having the date stored in a cell of maybe with a calendar pop-up
Not sure my subject is matching to my problem. This is my first Thread. I work in excel sheet to tracking meters and am and my boss updating this sheet. This sheet we have in server drive so we both can share. The problem is I need some formula to update automatically whoever updates last in sign column. E.g. Computer id, or something. I attached sheet for more clarification.
i have in sheet1, where the client key in the data, and sheet2 where i have to give the latest data to my manager. i tried with isblank and sort but in vain.. attaching the sheet.
What I'd like to have is one workbook, that 2 people can open and both people will see all changes that happen to the workbook.
As an example, there would be a Player 1 sheet and a Player 2 sheet. When you open the workbook you choose which Player you are and then it defaults to your sheet. You can then place your ships and start the game.
Each player would take it in turns to guess a square on the opponents board and then this selection would be sent to the other players sheet and updated automatically.
Most of it I think is quite easy to do - the only tough part being the updating process. Could I do it as 2 workbooks one for each player, (password protected to stop cheating!) and then when a move is made both workbooks are closed, the change is made and saved and the workbooks are re-opened?
I have a workseeht that consist of 13 tabs. This is what i am trying to do:
Each tab is for a month in 2007. The main tab is formated to show a recap of each month. So when the Janruary tab has been completed the main recap page should pull data from its tab. Then once the february tab has been completed the main recap tab should now show the data from this tab, and so on and so on.
I am currently updating the data manually by refrencing the new tab in the main tab formulas. I hope there is an easier way for me to get this data without manually inputing formulas every month.
I have a custom menu bar. Here is a part of the menu code. The SubMenu Items are various pipelines that am analysing. In a year time the user may add a pipeline. Is there any way to have a code to update this menu bar based on a changed list of ipelines?
Sub SetMenu() ZapMenu Set NewMenuBar = CommandBars.Add(MenuBar:=True) With NewMenuBar . Name = "QRA" .Visible = True End With ' Copy the File menu from Worksheet Menu bar CommandBars("Worksheet Menu Bar").Visible = False ' Add a new menu Set NewMenu = NewMenuBar.Controls.Add(Type:=msoControlPopup, Before:= _ 2)............................
I want to automatically update data from one spreadsheet to ther one i am novice to vb programming
here are two file plzzz help me out --sheet 1--sheet(data of sheet one to be copied into) and is there any way that the data copied also gets saved the in that spreadsheet as next time data in sheet 1 is updated!
The workbook I have has a tab for Master List of Transactions - there is data in columns A through J. In column E, when a year is entered, the data in columns A through D is copied to a tab for the specific year entered in column E. When the data from columns A through D is copied to the specific year's tab, it does not change anymore. If the information is changed at all on the Master tab, the macro does not currently work to automatically update the information on the specific year's tab but I would like it to. Is this possible?
Here is the macro I currently have:
Private Sub Worksheet_Change(ByVal Target As Range) ' Code goes in the Worksheet specific module Application.ScreenUpdating = False
Dim rng As Range Dim row_copy As Integer
[Code] ......
How to automatically update the year tabs for changes on the Master List of Transactions tab.
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 have already got an anwer for this long back from this site. The code was writted by Mr. Krishnakumar the thread is here :[url]
i need some changes to be made in this code. The existing code creates and updates the details in the sheets automatically from the master data. I just need the sum of Column I in all the sheets after the last row of Column I.
selecting all the sheets and typing the formula in I column is not possible because, the last row in Column I is different in all the sheets. In sheet 1, the last row of Column I is Row 15, in sheet 2 Row150 is the last row. I guess something could be done in macros.
follwing is the existing Sub TestIt() Dim sWS As Worksheet Dim Sellers As Range, Seller As Range Dim lRow As Long, fRow As Integer Dim CopyRng As Range, ws As Worksheet
I've been updating all the charts manually each time I update the entries in the worksheet which charts are created from in the same workbook. Is there any way (eg. by use of macros or VBA) that I can have all the charts updated automatically when data ranges are updated each time?
I have multiple sheets all of which are identical except for the number of rows containing data. I have been trying to create a macro to update these sheets into one 'Master' sheet but I'm having great difficulties due to me needing to leave Column A and Row 1 blank.
I have uploaded example data of what I am after, sheets 2 - 6 need to be automatically updated to the 'Master' sheet when the macro is run.
I want have a chart that use Formula result to update automatically. I know there is some vb methods to do this but my job is different and that ways work when values enter manually but i need a way that use formula result to update and don't make chart as long as existing values. I attached a sample of i need and i did explanation on it. The Salesman's are enter to column A by a VB and Their values of cost or earning are enter by a formula.
I am having difficulty figuring out how to get my chart title to automatically update when my chart changes via filtered criteria. I can get it to change by clicking the title bar on the chart, but would like the title to automatically update as soon as I select new criteria and the chart changes.
Despite setting the "Edit/Links/Startup Prompt/Don't display the alert and update links" option numerous times, my workbook still prompts me to update links every time I open it. The option seems to be set okay (it is preset whenever I go into the "Edit/Links/Startup Prompt" dialog), but it doesn't seem to affect the workbook's startup behaviour. The workbook contains a ComboBox control that is initialized with customer names from another workbook, which is included in the References for this main workbook.
I am using Excel 2003 (from Office Pro 2003) under Windows XP (SP1). I believe this used to work without the prompt when I was working on this app last fall (I'm not sure, as my memory of specific behaviours back that far is fuzzy). However, it has been persistently prompting ever since I started working on this app again this spring/summer. Was there perhaps a bad fix to Office 2003 (that I automatically applied) that broke this feature?
I have a column C with different text in cells (item's title). Column D - relevant description for each of the items. 100+ rows.
Now, unfortunately, often a spreadsheet with items is updated with many new items. So I get a new spreadsheet with old and new items mixed. I need, somehow, to import descriptions of the old items (Column D of the old spreadsheet) to the new spreadsheet from old spreadsheet. So I want excel to look for old items in column A of the new spreadsheet and, once found, insert a description in the column B from old spreadsheet.
I have a query with ODBC connection to a SQL database. This query's parameter is linked to a cell. The resultant data is the source for a pivot table. I want to refresh the pivot table, when the query is run. I've tried using the cell that triggers the query....but the problem is that the query takes about 10 seconds to run. By the time the query returns new data....the pivot has already refreshed. I need it to refresh AFTER the query is complete.
I tried adding a cell that sums up the data from the query...thinking when THAT changes (due to updated data), to trigger the pivot refresh. Problem is that I don't know the trigger for when the sum cell changes (ie....formula change, not typed in.)