Quantcast
Channel: Active questions tagged excel - Stack Overflow
Browsing all 88809 articles
Browse latest View live
↧

"Column out of Range" Error when populating an Excel Sheet

I just started implementing this to populate an Excel sheet with some data:using OfficeOpenXml; //.. ExcelWorksheet VerificationSheet_Sheet4 = package.Workbook.Worksheets.Add("SheetTitleHere"); int row...

View Article


I was trying to open default mail client with the hyperlink formula, but not...

I have tried this formula, but it is only accepting one cell value up to 7 to 8 characters. Please help me if i want to add more cell values in a table format at a time. I have tried this formula as...

View Article


excel vba find start and end row in column for multiple variables

In excel, I have a helper column (col O) that has a formula in each cell, the formula lets me know when the data changes from 1 to 2 to 3 to 4 etc. For this data set rows 2-7 are "1", 8-16 are "2",...

View Article

using chartjs with Excel

I'm trying to use chartjs to create charts based on data I have in an excel (.xlsx) file. The data is in tidy format.The following post gives an example:...

View Article

Set filename of Excel sheet to export from html table

I have one html table. Now I am exporting this table to Excel Sheet using Javascript. When this excel sheet is getting downloaded,the filename is like "download.xls". Now I want filename as...

View Article


Check if a value is in an array or not with Excel VBA

I've got some code below, that is supposed to be checking if a value is in an Array or not.Sub test() vars1 = Array("Examples") vars2 = Array("Example") If IsInArray(Range("A1").Value, vars1) Then x =...

View Article

Macro gives error when updating connections - but only sometimes

My macro opens up a couple of files, then updates Connections in one of those files. These connections are all pulls from website html tables. The macro worked just fine for a while. Now, when I run...

View Article

Exporting multiple sheets to .pdf via VBA code

I have seen this question but it doesn't quite answer my question - excel vba not exporting pagesetup to pdf correctlyI have the same problem of the specified ranges in each sheet not being exported...

View Article


List index array of items conditional to reference

I have two tables in my document looking like this:Serial Number Table (in formula : SNT):Serial Number Product model ABCD 1234 DEFG 5678 HIJK 1234 Product Technical Specification (in formula:...

View Article


Image may be NSFW.
Clik here to view.

Inserting a row at the end of a data set in Excel VBA?

Sub insert_Column() Range("H46").Entirecolumn.Insert End SubSo my code above will just insert a blank column; I was hoping to make it dynamic in that it looks at the last cell (H46) and once user...

View Article

Image may be NSFW.
Clik here to view.

How is the conditional function used in tandem with the find function in...

I'm formatting data of words soon to be added to my vocabulary deck in Anki, using Libreoffice Calc, and came across this insurmountable problem due to my little knowledge in Excel or the likes. I...

View Article

Next Non-blank cell in a Range

I am trying to get the next non blank cell of a columnI would like to find a way to do it with something already existent (without a custom loop).For example, I searched around the Find function :item...

View Article

VBA code to copy a filtered column and pasting in a different sheet in any...

I have two excel sheets. I need to filter the a set of data from one excel sheet and paste only few columns of the visible cells on another excel sheet from cell B15

View Article


Applying price and percentage formatting in Apache POI

Java 8 and Apache POI 4.1.x here.The expected "cell formatting behavior" of Excel, as I've gathered from being an Excel user for most of my life, is as follows:There appears to be an underlying...

View Article

How to convert epoch dates across years, including DST

I have a spreadsheet that includes a "Last Modified Date" in epoch format in column C, such as:1486841495 (earliest date in 2017) 1574478516 (latest date in 2019)Column C has 6,003 rows. What I want to...

View Article


Excel - convert ISO8601 date ending in Z into format suitable for entry into...

I have a CSV file that I'm opening in Excel. It has dates in this format:2019-09-15T00:11:57.4030000ZI want this:2019-09-15 00:11:57.403+00I think I may be able to use the "format cells > custom"...

View Article

How to set a timer in a UserForm Textbox?

I have a code that works perfectly but I have to click on the command button to activate it.What I want is for the timer to run automaticaly when I open the workboox/UserForm.When the timer reach 0...

View Article


Find a match in workbook using Excel VBA: run-time error 1004

I try to create a macro, which searches the word "Routing" in all my sheets of my active workbook.Then when it detects this word as first occurrence in one of my sheet of my workbook, I want my macro...

View Article

How to "transfer" row formatting to newly added rows?

I am working on a "price estimation" Excel VBA project.The basic layout of the page is:(top) Billing information, date, company info,... [rows 1-13] -fixed(middle) --> Bill of materials <--...

View Article

How to do SUM in a Conditional statement in EXCEL?

I have been working on this problem for quite some time and cannot wrap my head around the best possible approach to the issue. Project Question: How many tickets did an organization submit within...

View Article
Browsing all 88809 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>