Web Query Refreshes Not Updating

Dec 31, 2008

Written in Excel 2002, I have a web query in sheet 1 that automatically updates every minute. In sheet 2 I have some VLOOKUPs that retrieves the new data from sheet 1. I sent this worksheet to my brother, who has Excel 2007. Sheet 1 does update every minute, but in order for Sheet 2 to update he has to either click refresh or F9. My version works without any intervention.

View 9 Replies


ADVERTISEMENT

Save Old Data When Web Query Refreshes

Jun 27, 2009

When the data is refreshed, how can i keep the previous data and use it in a graph that automatically updates?

View 12 Replies View Related

Pivot Table Doesn't Refreshes?

Jan 20, 2013

I created a pivot table. But when I enter a new value in a cell it doesn't appear in the pivot table. I have to create a new pivot table and than I can see that new data is entered in a cell. For instance, my pivot table holds dates as ROW LABELS and COUNT OF these. And when I enter a new date, that date is not shown in the ROW LABELS until I create a new pivot table.

View 4 Replies View Related

Create Addin That When Clicked Refreshes All Pivot Tables?

Mar 12, 2012

I am trying to create an addin that when clicked refreshes all pivot tables and queries insteading of using the right click refresh or refreshall option button. This is part of a larger project which requires the addin -vs- the built in functionality. Anyways...the following script if I put it in a button and run it...it works perfect....if saved and run as an addin it blows past the refresh code and does not refresh anything, but will cycle through each worksheet.

I also tried thisworkbook.refreshall and activeworkbook.refreshall and neither worked.

Code:
Dim wks As Worksheet
Dim p As PivotTable
Dim qt As QueryTable

[Code]...

View 1 Replies View Related

Stopping Cells From Automatically Refreshing After External Data Refreshes

Jan 30, 2010

I have 2 Excel documents.The first document is named "data" and it extracts data from off the Internet every 24 hours. The second document, named "database", is for storing this data. Every 24 hours, I run a macro which imports the data from "data" into a new row in "database", along with the date the macro was run.

My problem is this: Whenever I refresh the external data in "data", my "database" document also refreshes itself instantaneously. My question is this: Is there a way to "cut the connection" between the two documents so that, when "data" is refreshed, the data in "database" DOES NOT also refresh itself automatically?

View 3 Replies View Related

Hiding Runtime Errors: Refreshes A Specific Data Range That Imports Data From A Text File

Nov 25, 2009

I have a macro that first refreshes a specific data range that imports data from a text file as such:

View 2 Replies View Related

Pass Parameter From Excel Through MS Query To MS Access Query

Nov 26, 2012

I have an MS Access query that contains a parameter. The parameter is a date field, and I have configured that in the Access query. If I run the query within the MS Access user interface, it prompts me for the paramater value as expected, and runs just fine. However, I want to connect to this query from within Excel as a data source.

I have created a connection to the Access file using ODBC from within Excel. In the MS Query window, I am merely selecting all of the fields resident in the MS Access query, and returning all values. In other words, there is no selection criteria in the MS Query. I have done this many times with Access queries that DO NOT contain a parameter, and everything works fine. However, in this instance, I need to pass a parameter through to MS Access in order for the query to run. At the moment, I get the "Too Few Paramaters...1 expected" error message. This makes sense, because I haven't figured out how to pass the paramater to MS Access.

Is there a way to structure this that does not involve VB code? If so, I'd love to know how. I have tried creating parameters in MS-Query with the same name, but although I get the prompt it doesn't connect with the Access query as the source for the parameter value.

If the solution requires using code, I'm good with VB Code in Excel...is there VB for Excel code that could make this happen?

Failing that, I guess there must be (I've seen a few in my search thus far) Access VB Code that can make this work. I'm very rusty using VB with Access, so this is my least favored solution. However, if this is the only option, keep in mind that I need to pass the paramater ultimately from a user who will initiate the process using Excel.

View 3 Replies View Related

Query Parameters Which Takes The Date From The Cell Into The Query

Mar 29, 2007

Need the query parameters which takes the date from the cell into the query. How should I modify my query if it needs to take the date from a cell?? The bold one date should be picked from one of the cell in sheet 2.

My query is this
WEB
1
http://fc-web-phl1-101.phl1:8090/gp/...runReport.y=12

Selection=15
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False

View 2 Replies View Related

Create An Conection With MS QUERY To A Csv And Query Data

Sep 6, 2008

I have a csv file on another drive on the network that i need to query. I believe that ms query would be the best way. I know that a DSN needs to be setup but this macro will be used by various users who wont know how to do that. thus I would like to create one via VBA every time the task needs to be run.
I haven't a clue how to do this and i need it to be explained to me in general terms with words of one syllable!

View 9 Replies View Related

Query An Access Query With VBA Function

Jul 8, 2008

I'm trying to query a query in Access 2003, from Excel 2003.

The query in Access looks like:
AccessQuery: [SELECT VBAFunction(field1) FROM Table]

The query in Excel looks like:
ExcelQuery: [SELECT * FROM AccessQuery]

I use the following VBA code in Excel to excecute the query:

With ThisWorkbook.Worksheets(cDataSheetName).QueryTables.Add(Connection:=strConnection, _
Destination:=ThisWorkbook.Worksheets(cDataSheetName).Range("A1"), Sql:=strQuery)
.RowNumbers = True
.Refresh BackgroundQuery:=False
iResultRowCount = .ResultRange.Rows.Count
End With
When I execute this code I get the error message 'SQL Syntax Error' (Error 1004). When I remove the VBA function from the query in Access, it all works fine.

View 9 Replies View Related

Edit Query Using Query Wizard

Apr 25, 2006

I created an Ms Excel Database Query to bring in data from MS Access. (versions 2002 of MS Excel and Ms Access). The query works fine initially. I can right click, choose Edit Query and change my criteria. Results are returned almost instantly.

My problem is that, once I save the workbook, or autosave happens, I get an error when I right-click to Edit Query: This query cannot be edited by the Query Wizard..

View 2 Replies View Related

MS Query - Parameters (parameters On A Query But Use A Wildcard To Return All Instances)

Nov 17, 2009

Is it possible to set parameters on a query but use a wildcard to return all instances? I have a query that I want to be able to set multiple parameters on but give the user the ability to select as many or as few parameters as they want to see. 2 of the parameters are number fields and 2 are text fields with no spaces.

View 4 Replies View Related

Sum Is Not Updating?

Dec 16, 2009

I feel like I am losing my mind here. I have a basic SUM calculating a bunch of cells. I have done the SUM from th autosum feature as well as, just typing it is (=SUM(B1:b16)), It totals up the cells correctly, but, when I change a value in one of the cells, the sum is not updating? I have never seen this happen...Does anyone know what could be causing this?

View 3 Replies View Related

RTD Not Updating

Mar 18, 2009

In my Excel 2007 I have downloaded an Add-in (Webiress data) which allows me to receive RTD of a particular security which I then use to plot a chart. In a day there are around 15,000 changes in prices of that particular security.

The problem is that the RTD misses many prices when the market is fast and also it frequently (around 20 times per day) stops updating and then I have to clear the cell where the RTD is updated and it returns to normal, updating the prices for few minutes and then stop again.

A friend of mine told me that I have to change one Registry in Excel to tell Excel to check for a RTD every 2 miliseconds. I found this suggestion a bit strange and I have no idea how to do it.

Has anyone ever come across a RTD issue like this?

I contacted the server provided (webiress) and they said there is no problem with the updating of RTD (real time data) and the problem should be on my side.

View 9 Replies View Related

Updating Pages

Nov 7, 2007

Is there a way to insert a cell/row, and add data to one page/tab, and have it automatically insert a cell/row and add the data on another page/tab?

Excel 2003 is the version I am using.

View 14 Replies View Related

Updating Charts In 97

May 23, 2008

I update graphs/charts everyday. I've been looking at ways of updating a lot of charts in 1 action.....

What would the formula be to have the range of the chart (ie =Data!$BS$1188:$BS$1201) to get the row numbers, not the row, from numbers entered elsewhere on a data sheet (ie =Data!$BS$1188:$BS$1201)

As a lot of the time I use the same number range but on different rows and sheets.

View 12 Replies View Related

Updating Graphs

Dec 7, 2009

I have created a series of numbers using a column 'n' and 3 cells for Start value, End value and increment, this is thwe formula: .....

View 9 Replies View Related

Updating Links All At Once

Apr 11, 2008

if it would be possible to update all the links in a workbook at once. For example, say I have a worksheet which is linking to a file named something like 4-6-08 (1) and 4-6-08 (2) and so on with the number in brackets being from 1-21. Now say I have the same thing for 4-7 and 4-8 and 4-9. Now I want to change the links to point to 4-10,11,12,13 instead of 6,7,8, and 9. But still there are 21 copies of each sheet. Is there any way to change all the sources at once so all the 4-6's could become 4-10's and 4-7's to 4-11's?

View 12 Replies View Related

Udf Stopped Updating

Mar 18, 2009

I have made a series of of udf's and used them without a problem in my worksheet. One of the variables used by udf's, " commission " is a named range on the "vrs" sheet in my book. All was working fine, all the udfs updated whenever i changed the value of "commission" by directly entering a new value in the cell referenced by "commission" I then wrote sub to call an input box wich collected a value for commission and put it in the ranged cell. Since then, of the 4 columns of data that commission acts on only 3 now update automatically. The recalcitrant 4th column will only update if I select the cell, place the cursor anywhere in the formula and press enter.

View 3 Replies View Related

Updating A List Box...

Jun 8, 2009

I have written some code that populates a list box with data, and have allowed data to be deleted from the list box if a line of data is double-clicked, with the data below the deleted row being updated to remove the empty row, etc. All works fine except that, when I force the list box's 'selected' line to be the one below the last entry (as if you were selecting the next empty line with the mouse) and the code completes, you cannot click on the form and move it around, nor can you access any other of the form's controls, until you click inside the list box.

Apparently, forcing the line selection in the list box (to simulate someone clicking on a row in the list box) is what's causing the problem. I need to force the selection because the number of data lines in the list box is more than can be shown in the list box, therefore I need a method to automatically scroll the list box to show the next available line in the list box.

View 2 Replies View Related

Vba Function Not Updating

Dec 30, 2009

I have the folowing vba function that i use to check the existance of files but when the workbook is refreshed, the formula doesn't update. It's only updated when i double click it's cell.

View 2 Replies View Related

Link Updating

Aug 19, 2007

I have links in one workbook to a series of other workbooks. Using Excel 2002. I am making selecting changes in the source workbooks and not automatically recalculating the workbook. I know what is changing and am just recalculting that by clicking on the cell and going to the end of the formula and pressing enter.

The problem is that when I go into the master workbook to which this data is linked, it seems unwilling to update the data - and it sounds like this may be because I didn't recalculate the entire workbook.

Is this in fact what happens? Any way around it. Recalculating the workbooks in which the source links are found would take lots of time and I'd rather avoid that.

View 9 Replies View Related

Updating The Columns

Sep 10, 2008

I need to calculate value in a column (expiration date) based on other two columns (Approval date, Plan Type) for each row in a table.

View 9 Replies View Related

Screen Updating

Feb 13, 2009

Is there a way to disable updating to the screen but have a message displayed to the user while a macro is running? Something like a userform displayed on the screen or a message in the status bar. I vaguley remember you could "print" message to the status bar in LotusScript, wondering if there is something similar in Excel.

Application.ScreenUpdating = False
"the macro is running, hang tight"
...macro code in here...
Application.ScreenUpdating = True

View 9 Replies View Related

Updating Records

Jun 10, 2009

I am using Excel 2007.

I have a large spreadsheet and new data is added periodically.

I have several columns of data associated with a description & date.

The data associated with each description is unique to that day.

I want to archive the older desciption data after I add newer description data.

Column B = date of the data
Column E = description (phrase)

How do I remove duplicate older rows of description data from my main spreadsheet (keep the newest descriptions rows) and save the older rows of data in a archive sheet?

My sheet has many columns from A to BU.

I have about 220,000 records with many duplicate Descriptions in column E. Each Description record has a date in the Date column B.

Records are sorted by: Description A to Z
then by: Date Newest to Oldest.

Here is an example (not actual sheet):

I highlighted the duplicate Description records in these examples that I want to update and archive.

I want to delete the older Description records from my main sheet so that only the duplicate Description records with the newest date remains like the example below.

And the older duplicate records that are removed from the main sheet I would like to save to a new sheet so that I can save a history of the Description records.

View 11 Replies View Related

TextBox Value Not Updating

Dec 10, 2009

I have a userform that displays data related to a given stock in textboxes and lets me manipulate other data with command buttons. it works fantastically, except the dynamic data on the sheet does not update dynamically in the textboxes.

i have a combo box from which i select a symbol, data is pulled from the sheet and populates the text boxes. that is accomplished with a sub. there are 800 symbols. i mention that because i can't just set the ControlSource to a specific cell. I tried several different ways of referring to the cell, using .Cells and vlookup but i mostly just got errors. then i tried to do it with code (heh) here's a sample:

SecurityName.Value = Cells(r, 5)
ParityBid1.Value = FormatNumber(Cells(r, 12), 2)
ParityAsk1.Value = FormatNumber(Cells(r, 13), 2)
ParityLast1.Value = FormatNumber(Cells(r, 14), 2)
LocalVolume1.Value = FormatNumber(Cells(r, 10), 0)

Again, it pulls the data fine, it just doesn't update. Anyone who can help will receive total consciousness on their deathbed.

View 9 Replies View Related

Updating From Other Worksheet

Jan 21, 2007

I've been trying for a while now but I can't do it so I was wondering if anyone could do it:

1) I am trying on the "customer detail page", in the " date due" column automatically update with the book/DVD.

The database has been shortened drastically to be able to be able upload

View 9 Replies View Related

Combobox Not Updating

Mar 16, 2007

I have hundreds of combobox's that provide a list of names (few thousand names).

I have it set up so a user can select anyone from the combobox for the line of data they are working on.

The problem is, if I add data to the list that is populated by the combo box, the combo box doesn't always update.

the combo box link to the data by named range (list on another sheet in same workbook), and the named range is automatically updated when an entry is added (so the range is correct), but the combo boxes still won't update all the time. The strange part is.

View 9 Replies View Related

Links Not Updating

Mar 23, 2007

I have several Excel files saved on a network drive at work. We run cost studies and have numerous links mixed in with these files. My question is, when we change data in one sheet, it doesn't update the other sheet where we have it linked. When you click on the address for the link you get, (\fileshareN:Raetc...) If I remove the \fileshare and leave it as N: the links update. What am I doing wrong here? It automatically adds this \fileshare piece when I add the link. When I have removed it and close it, the extra information is added and I am back at square one.

View 2 Replies View Related

Chart Not Always Updating

May 31, 2007

I am using Microsoft Excel 2003. There are several charts in the worksheet and the ranges for the series in the charts are defined by named ranges, e.g.:

Values: =FirstNamedRange

where FirstNamedRange is defined as Sheet1!A2:A100.

The values in FirstNamedRange are themselves calculated from other inputs. The problem is that when I recalculate the sheet, changing the values of FirstNamedRange, there are times when the chart does not change.

This happens sporadically. 9 times out of 10 both the values in the range and the chart change. At other times, the values in the range change and the chart doesn't reflect this. If I save the file, close and then reopen, (thus forcing the chart to recalculate?) then the chart looks correct.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved