Since a few weeks I am using Office 2016 and I have a few Excel spreadsheets that collect data from my own webservice using a web query. As you can see, the webservice has the right properties in the connections dialog:
When I refresh, I always get the following error message:
It's in Dutch, but the error message says "Can't find Data Source". As you can see, the url of the webservice is not fully displayed. I can't find anything about it on Google, but did the length of a valid web query url change in the new version of Excel?
It works perfectly fine in Excel 2013 and Excel 2010.
After applying the Office Click-To-Run update (1609) to Excel 2016, I experience the same issue. It works in previous Excel versions, including 2013 and 2010. It seems a part of the URL in the GET request Excel makes is cut off.
By rolling back Office Click-To-Run update (1609), the problem disappears.
I have ended up working around this by shortening my URL's. This is probably only a solution to others if they can use an URL-shortening service (TinyUrl) or have control of the webservice.
It really seems like an Excel bug.
Related
I got a recent problem with Excel.
We are working with macros and it is in a Citrix envoirment.
We are filling an Excel sheet with data that works perfectly fine.
But our coworkers have made themself templates which are getting filled.
Now if you choose the template to be filled it is first pretty slow and then actually freezes/crashes.
What I have recognized when you choose the template like \server\folder\template.xls it crashes but if you choose it like "\server\folder\template.xls" it doesnt but the templates seem not to work as their saved macros won't run.
But what else diffrences between those two Options.
Is it really only macros?
As it seems, we had a problem with the excel Installtion.
There was a problem between Excel 2016 32bit, Excel 2016 64bit and Excel 365.
We made a new clear installation with excel 365 and it worked again.
Therefore still thank you for your help and Ideas.
I have strange problem and I am not sure if it's problem with newer excel version or newer version works in other way and I need to make links in other way?
In our company users having Microsoft Office Home & Business 2016 , and 2010.
While I am refreshing pivot table with source to another file on server disk (we don't have exchange and sharepoint) - it is refreshing normally on 2010 version. While updating data in Pivot excel is doing that in background.
But the problem is on 2016. When I try to refresh data I got message: "Can't open pivottable source file '.... .xlsx'" , so it is not refreshing.
When I open the source file - it's blocked by some user (but in fact nobody has it opened). I supose that when I open the file with pivot table, excel somehow opens source file, and then it cant refresh it? The funny thing is that when i have this source file opened in read only I CAN refresh the pivot table, but lets say, i want to put new data in the source - i cant save it under same name because i have it in read only... so i couldnt chech how my pivot table will look with changes.
I tried to find the reason why it's working in different way on Excel 2016. On 2010 everything is ok.
My only conjecture is that 2016 is more adjusted to work on sharepoint, cloud or something? Is there some solution to make it working the same way in 2016 as in 2010?
I am having a problem with updating a pivot filter progmatically in VBA. What I want to do is filter the pivot with the latest date on my recordset (I am getting my data from a Jet database). I have tried the code below for MS Excel 2010 and works fine. I also have tried this on an Excel 2007 on one of our computers and works fine as well. However, when I deployed it on my clients PC, it returns an "Error 1004: Application defined or object defined error" on the last line of the code below. The odd thing is my client has Excel 2007..
Do you guys have an idea why this is happening?
ActiveSheet.PivotTables(sPivotName).PivotFields(sPivotField).CurrentPage = "(All)"
ActiveSheet.PivotTables(sPivotName).PivotFields(sPivotField).ClearAllFilters
ActiveSheet.PivotTables(sPivotName).PivotFields(sPivotField).CurrentPage = CStr(rsDate("MaxValue"))
I was able to solve this by just upgrading the Excel on the client's PC to Excel 2010. Though I still have no idea why it does not work on Excel 2007.
I have an excel spreadsheet which contains a calendar control (Microsoft Calendar Control 2007, MSCAL.ocx) and activex comboBox controls.
All works fine on my own PC but when i try it on another one (with the same version of excel i.e. 2007) it seems to lose the reference to the Microsoft Calendar Control 2007. I get an error message saying "Invalid qualifier" every time I reference the calendar in the VBA code.
I am hoping to find a solution to this problem that doesn't require the user to go into the VB editor and add a reference as this spreadsheet will be sent to many users, can anyone tell me if this is possible?
Thanks
Had to get the user to register the calendar control using a batch file, not ideal but it works
I have an Excel spreadsheet that uses a TFS query to pull information on work items. I've created a lot of other formulas and charts based on this spreadsheet. My TFS server changed names and now the spreadsheet can't pull the information because the server no long exists. The query on the new server is the same, I just need to figure out how to point the spreadsheet to the new server. Does anybody know how to do this?
http://dicks-clicks.com/excel/ExternalData5.htm#ChangeConn
This shows some VBA to change the Connection property of the QueryTable object. It will work in any recent version of Excel. If you have Excel 2007, you can go to the Data tab and choose Connection - Properties to see the Connection string and SQL and you can change it manually there.
If you have 2003 or earlier and don't want to use VBA, you can download QueryManager
http://www.jkp-ads.com/downloadscript.asp?filename=QueryManager.zip
Which does pretty much the same thing as 2007 just in previous versions.
Oh, and I'm assuming querying a TFS is the same from Excel's point of view as any other server, but I've never done it personally. So this answer may be totally wrong.