Category "excel"

Laravel Excel::store file empty after stored

I uploaded this excel file: myExceldocument.xlsx After uploading I want to store in a folder. I used this method: $uploadedFile = $request->file('files')[0]-

Macro to change colors of specific characters in a range

I wanted to develop a macro for my worksheet that would pick up a range and change the color of specific chars based on its color. This was similarly answered b

Userform resizing according to screen resolution

I have an Excel userform I want to resize on opening to fit the screen resolution. I get the height and the width through Application.Height and Application.Wi

How to create identity column when importing data from Excel into MS SQL Server (with Import and Export Wizard)?

I need to import great amount of data from excel into MS SQL Server, using the Import/ Export Wizard. Then I'll continue importing more data into the same table

Sharepoint Power PI Connection Requiring Input Of Credentials

I have an excel workbook with 8 Power BI queries to a Sharepoint site. The queries work, but every day I have to clear the permissions on the data source. I the

Conditional move loop - VBA excel

I just learned to use VBA in excel, I have a spreadsheet as shown, I have columns from B1:B12 containing content to search and move, I want to build code to se

Apache POI: Is it possible to use SXSSF without temporary files?

I'd like to use SXSSF (Streaming Usermodel API) from Apache POI. What I don't like is that it uses temporary files. Question: Is it possible in Apache POI to f

How to ignore the format error flag in the cell number format

My code: columns = ws.get_Range("A:F", System.Type.Missing); columns.NumberFormat = "@"; After I debug the program, there is green color flag beside my number

If a cell in range of cells in Excel 2010 contains specific text, move whole cell text into a different column

I am struggling to find an answer to this one... Each month I am provided with a spreadsheet full of clients data that is a raw extract from some sort of CRM s

Bold and Italics not working in excel with EPPLUS

I am using the below code for updating excel data format, here I want the heading to be in bold and entire data in italics format but when I run the code all th

Replacing file path in excel with another

I have an excel file with cells that retrieve data from a file stored on another computer. I need to update the file path in all of these formulas but it is ext

EXCEL VBA UserInterfaceOnly:= True not working

When I use (some code here).copy destination:=(some code there). It will still prompt for protection issues on cells. Basically it just won't let my code runs.

Run Time Error 5 - Invalid Procedure Call or Argument

I need help with this macro. Every time I run it, I get the error below. I thought it was a simple macro that I could have anybody on my team use to make it t

Create EXCEL from html table using C#

I am trying to create an excel sheet for shipping products using C# and HTML table. The image shown below is my HTML as it looks in the browser. What I am tryin

Excel cells from Access export look empty but are not (=isblank=FALSE)

My problem is that an Excel spreadsheet (exported from Access as .xls) has cells that look empty, but are not. This is mucking up my calculations & navigati

Excel VBA: Autofilter using textbox values

I tried the following to filter (between filter) my worksheet based on 2 values. The 2 values are input in textbx1 and textbox2 in userform 'A1_Filter_Range'.

How to convert PDF to Excel on a Mac?

I have a lot of PDFs to convert to excel. I found the code below which converts PDF to excel by opening the pdf file in word but it fails at Dim fso As New File

Adding new data in excel and cannot be sorted or filtered

I have a column with 595 rows. Then I proceeded to add 20. (Note this excel sheet with the 595 entries was already in place before I started working on it. The

add attachment picture into html email body in office 16 / O365

I have been using this code in office 2013: With OutMail .Attachments.Add fName .HTMLBody = .HTMLBody & "<br><B>" &

Not able to set custom color in XSSFCell Apache POI

I am trying to set some custom(from hexcode or rgb value) color to a xssfcell.But the color of the cell is becoming black even though I am giving some other col