Wondering if it's possible to create an XLSX with freezed first row? - sheetjs

I am trying to use SheetJS to create a simple Excel file from our Angular (17?) web app.
It is working very well but, now I got greedy and I want to fix the first row ("freeze row" in Excel which is a very popular method of freezing the headers row when scrolling the actual data up and down).
Is it possible?

Related

VBA to create Mapinfo table & points

not very good at VBA, just in the basics so got stuck at below idea.
I want a VBA to create a MapInfo Tab file and points with Legend from a table in excel with given coordinates and legend based on another column.
searched a lot online, but couldn't find more than the below.
CreateObject("MapInfo.Application")
Please guide me to accomplish this.
Thanks
There are two ways of doing this.
First option is to open MapInfo application (with CreateObject("MapInfo.Application")) and create TAB file there. However, this would be basically to write an MapBasic program, VBA would be only used to start MapInfo.
The second options is to create a MIF/MID file. These are two plain text files which can be imported into MapInfo. At this page Pitney Bowes states "We do publish the MapInfo Interchange Format (MIF\MID) files in our documentation", however you find it in Chapter 13 at normal MapInfo User Guide.
I would recommend the second option. Creating two plain text files in VBA should be feasible. A good starting point would be to create a TAB file manually and export this TAB file as MIF/MID, then you have a valid example file.

SSRS PDF Export Headers Incorrect

I have created a report with several related tables and a couple of charts. It looks good in Visual Studio and exports PDF fine but when I deploy to Report Manager and export to PDF, the headers don't appear on subsequent pages and the first row is expanded as if it were the header. Also, rows with long names do not expand the rows as they should.
Has anyone had this issue and/or know how to fix it?
I thought I was done with this report until I tried exporting from Report Manager.
Apparently the issue is due to using CanGrow for cells in a tablix exported to PDF.
I had tried changing every other property to get it to work then a co-worker said to change the CanGrow to False. Amazingly it worked! There were no more jacked up first row and the headers magically started repeating.

Writing tab delimited line to text via VBA

I have an issue I'm working on in which I could use advice.
I wrote a VBA program that takes one worksheet and expands each row in it to many rows on a new sheet, altering one variable in each row and appending necessary xml tags. It uses this to build up data on the second sheet which is then saved as a tab delimited file. This approach works great, and I've been using it for a while now.
I've started to get big enough data sets to hit memory issues though, so I'm thinking I need to change the process and want advice on the best approach.
My initial thought is that instead of generating a new sheet, I'll read in the input sheet and then generate an array of strings separated by tab delimiters which I'll then append directly to a text file. How do I do this fastest and without hitting memory issues? Is it better to build an array and write it line by line to the text file or to write each cell as I generate it and append the tab? Will I hit memory issues? Will saving the file partway through help?
Any suggestions or alternative approaches are much appreciated.

How to edit Charts in Google Spreadsheet with Google SpreadSheet API in VB

I have a spreadsheet on my Google Account and I have some code which edits cells in this spreadsheet. Now I'm looking for a way to edit and(/or) make a new Chart in the worksheet I'm working on. I'm using the Google Spreadsheet API to edit the cells.
I did some hours of research on this topic but I just can't find how it would work. My understanding is that it is impossible with this API to work with charts. Is this correct?
I also found something about a Visualization api, but I can't figure out how to get this to work in vb, let alone how to make sure the chart I create would end up in my spreadsheet.
I want to use this chart on my own website, and I don't want to have to run the code before the graph updates. In other words, when I change the information in the cells manually via my spreadsheet I want these numbers to end up in my chart. I only want to change the chart via my code when I need to add a row or column to the chart.
Lastly, I've also read it is not possible at all to edit charts in a spreadsheet via a program. If so, I'd like to say to Google: WHY NOT!! AARGH. And maybe someone can suggest an other way to automatically update a chart which I can place on my website. (Again I want a live representation of the spreadsheet and the code I'm creating will only be run once a day if at all).
Thanks you so much for your time!
Google have Script inside the Spreadsheets that can do that for you.
https://developers.google.com/apps-script/reference/charts/

Custom cell for Objective C

I am new to coding in Objective C. Originally I was bringing in a string of data into my tableView and I was having a really tough time with spacing out everything row by row. So I just need some guidance as to whether or not I am headed in the right direction. I have decided to make a custom cell with multiple views within it. So if I feed each piece of the data separately into each view, would that do the trick of having each row align with one another? Do I need to have anything else within each view i.e. labels? Also how should I think about this code logically? I'm not sure how to send data to each separate view?
As you are new to Obj-C coding, go through this sample app.
This sample code demonstrates getting data from server in xml format, parsing the xml response, and displaying in a table, it also uses custom cell to display parsed data.