ndde c# with excel stopped working - dde

I use the ndde (dynamic data exchange) in https://ndde.codeplex.com/ to exchange real-time data between my c# application and Excel.
My C# application have a datagrid of about 100 columns and 180 rows and the grid data are updated continuous.
my problem is when I take all the columns to excel in dde format to exchange data, the excel is stopped working. but when I take less columns about 70 only, it works well.
How to overcome that?

Related

How to convert nested group in Excel from SAP report painter export into tabular form?

SAP report painter exports a n-dimensional table in excel as a nested group format (columns A:B). I need to get this onto tabular form (columns D:I) as a summarized table. Ideally I would get a direct data feed onto a summarized table, but that solution is quite far ahead.
Attached photo is a modified snippet for illustration purposes.
I have written a loop in VBA which does it using a variant approach. For approximately 15.000 rows, this takes around 40 seconds for 7 dimensions. I am wondering if any built-in excel functions could do that more efficiently?

Excel 2016 pivottable pagefield will not let me use values that are working in MDX against the same SSAS cube

I've got a few legacy (Excel 2016 VBA driven pivot table reports) reports which need to talk to a new SSAS cube I've made (Multi-dim as our server cannot support tabular yet).
Construction of most of the pagefields works except for Date which on the SSAS cube is a dimension linked to the facts via id and has a Date field with a real date value.
I have a custom C# DLL I've written which generates MDX for a user and with this I am successfully able to use WHERE [Date].[Date].[2022-12-07] however this fails in the VBA.
Fortunately I have OLAP EXtensions plugin so I checked the MDX that Excel was generating and it's using [Date].[Date].&[3] which is the underlying key. The key/ID changes currently as there's a rolling daily SQL prep stored proc/script preparing all of the data. I don't want to have to request the possible IDs first. I could just change the prep to use 1 & 2, as currently there's only 2 days of data, but in the future there will be more days/IDs at play.
Why can Excel not 'see' the Date values which MDX can (and returns valid data)? I added CubeFields to a watch and dug around in the various properties but I couldn't see anything...

Excel generated report with more than 75 000 rows?

I'm using rwservlet to generate an oracle reports rdf in a excel compatible format. The desformat used is ENHANCED SPREADSHEET.
The problem is the report returns a lot of rows and enhanced spreadsheet only allows up to 75 000 rows. The result is that not all my data is displayed.
From my research it seems that i'd need to switch to delimited format in order to have all data displayed, however the client wants the reports generated in excel to make use of its formulas.
Is there any way to get oracle reports to generate all the data into an excel compatible format? Or can i use a procedure to do this instead of oracle reports?
Any help is appreciated,
Thank you!

Generate Automated Google Analytics Excel Reports

I want to be able to create reports in Excel which read data from Google Analytics
How do I go about doing this? I find a lot of information about using Google Spreadsheets but my team is more familiar with Excel
I'd like them to be able to pivot data from google analytics/create graphs and i'd like to be able to create graphs which refresh when the data refreshes
You can easily convert a Google Spreadsheet to Excel format by downloading it as "xlsx".
I'm doing pretty much the same.
First of all, you need to have 2 separate sheets, 1 for your core data and one for your visual part (ur graphs).
In raw data sheet, get insert the data from GA
In graphs sheet, create ur graphs using the raw data.
Now, if you import new data and replace the old one, it should automatically update your graphs as well (unless you deleted some references).
In general, this could be automated, but typically you need additional tool to so so. I hope this helps

Creating Excel dashboards from info stored on SQL

I'm creating an Excel dashboard that imports a variable number months' worth of financial/accounting information from a database to an Excel sheet. Using this information I have a Calculations sheet that computes some financial indicators, again, month by month. Finally, this information is displayed in graphs on a separate sheet (one indicator per graph, with the monthly information plotted to see the tendencies). Currently I have written VBA code that formats the sheets to accomodate the number of months requested, pull the data from the SQL server, and update the graphs. Since there are 53 indicators for each operation (6 operations), this process takes about 3 minutes.
Does anyone recommend a better way to do this? The current way 'works' but I've often thought that there must be a more efficient way to do this.
Thanks!
Chris
You could look at skipping out the excel part and using SQL server reporting services (SSRS). If you have ever used business objects or crystal reports its kind of the same thing and I would imagine would offer better performance than doing things in excel.

Resources