Export dataframe in pyspark to excel file given the 'openpyxl' module is not...
I am trying to write my spark dataframes in an excel file to generate desired reports by changing them in pandas dataframe and then using panda_df = df.toPandas()writer =...
View ArticleMAC OS vba excel error 1004 Cannot access read-only document 'FALSE' [duplicate]
I'm trying to create and save an excel workbook using the following vba code. When I run it, I get the error code '1004 cannot access read-only document 'FALSE'. It flags the .SaveAs line as the...
View ArticleChange Button color
I'm using excel and I'm having trouble, I need buttons that will change color when clicked. I can use a command button but it needs me to label each of them individual "CommandButton1, CommandButton2...
View ArticleUsing Option Button to set a variable
I have a workbook with three sheets.The first sheet contains two option buttons and a button. When the user clicks the button I want to copy the appropriate sheet (sheet 2 for option button 1, sheets 3...
View ArticlePivotChart sort by value
How to tell excel to sort pivot chart values by integer value, not alphabetically?When I use raw time data it sorts correctly:But when I use the built in aggregation functionality of Pivotchart for...
View ArticleExcel VLOOKUP, files in sharepoint
We have a lot of files on Sharepoint that many users work with.These files used to be in a shared folder on a server, and the VLOOKUP function worked fine.Now we have those same files on Sharepoint. If...
View ArticleCalculate only cell and its dependants [closed]
As per the title. I am wanting to calculate only the selected cell (or previously selected cell once enter is pressed) and its dependants.The reason is I have a large spreadsheet that can be quite...
View ArticleReturn split values in a dynamic range and include blanks
I created a formula that addresses the limitation that TEXTSPLIT has at not being able to spill a set of split values by a delimiter.Here it is:=DROP(IFERROR(REDUCE(" ", A2:A11, LAMBDA(x,y,...
View ArticleHow to use TEXTSPLIT on a column from a dynamic array spill range in Excel?
I have a dynamic array of data with a column that contains a duration as text that I will convert into a numerical time value. I use TEXPSPLIT to split the duration as text value into days, hours,...
View ArticleExcel formula calculating working hours depending on shift start and end
12/6/23 3:00 PM (Start Date and Time)12/7/23 8:00 PM (End Date and Time)11:00 AM (Shift Start Time)8:00 PM (Shift End Time)I want to calculate the working hours. Start date and time is 12/6/23 3:00 PM...
View ArticleHow to use PowerShell to select and copy columns and rows in which data is...
I want to select and copy columns and rows in which data is present into a new workbook.I found this link which helped me just do the above.How to use PowerShell to copy several Excel worksheets and...
View ArticleExcel formula to determine if specific text from a list is contained in a...
I'm needing to write a formula to determine if one cell contains any specific text from another list, and then return a value based on which text is in the cell.For example, the original cell contains...
View ArticleConvert Excel into Memory Stream and download via AngularJS
I want to create a Excel file dynamically in C# and I need to make it as downloadable in AngularJS HTML Button Click.I referred the following link to create Excel dynamically...
View ArticleOraOLEDBpus.dll: The specified module could not be found
I am facing an issue with an excel macro which connects to an Oracle database. The macro works fine on many users PC's, but on one DAAS machine, it's giving me an error when attempting to open the...
View ArticleRetrieve all cell values in each row and column with Open XML SDK 2.0
I am using the Open XML SDK to open an Excel file to retrieve the cell values from all of the rows and columns that contain data within the worksheet. Here is my code:using System;using...
View ArticleUnable to access Team Tab in Excel
When trying to integrate Microsoft Excel with Azure DevOps I need to access the Team tab in Excel to create a list as the first step to import my spreadsheet into DevOps. Upon trying to do this, I am...
View ArticleWriting to an existing Excel Workbook using xlwings
I am new to Python and working on a project that I could use some help on. So I am trying to modify an existing excel workbook in order to compare stock data. Luckily, there was a program online that...
View ArticleGet Excel data range using oledb in c#
I want to get excel sheet used data range by using oledb.Code is below,String strExcelConn = "Provider=Microsoft.Jet.OLEDB.4.0;"+"Data Source=E:\\DOTNET\\CrsMicro\\CA.xls;"+"Extended Properties='Excel...
View ArticleExcel tab to new line after certain amount of columns
I am wanting to set up an excel spreadsheet for data entry with a barcode scanner.The barcode scanner sends the barcode then a tab OR an enter key depending how its programmed.Basically I want to set...
View ArticleExport tables to an excel spreadsheet in same directory
I have two tables in my access database that I want to be able to export to excel. I can do it by opening the table and then doing File->Export... and then choosing the format and typing in the file...
View Article