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

VBA od different pc = Run-time Error '1004' - Method 'Open' of object...

Hello sorry for my English but, after a few days, which I read something about this problem on internet I will try ask question here.I have workbook which have userform1, where I can choose a option 1...

View Article


Keep UserForm (Progress Bar) on top everything

I'm using a progress bar made by Ejaz Ahmed (http://strugglingtoexcel.wordpress.com/) that is simple to work it, easy to implement and to use in any code. I'm loving it! My problem is, I have tried...

View Article


Insert data from Excel sheet with multiple tabs into SQL Server into multiple...

Suppose there are 5 worksheets for 5 tables in SQL Server, how do I write a single code to insert bulk data from this 5 sheets to 5 tables in SQL Server.

View Article

Add rows before pasting data in a new sheet (between specific cells)

I have a sheet with data and I want to copy its data to another sheet. That's simple, but the problem is, I have to copy that selection to a range between two cells that is set, so if I add another row...

View Article

Correcting HEX values in Excel by appending additional zero

I did find a solution to previous asked problem on multi-row concatenation (https://stackoverflow.com/questions/60143273/openpyxl-concatenation-of-several-columns-into-one-cell-per-row-multi-row), but...

View Article


How to clear memory to prevent "out of memory error" in excel vba?

I am running VBA code on a large spreadsheet. How do I clear the memory between procedures/calls to prevent an "out of memory" issue occurring?Thanks

View Article

If value in one cell, then modify row which consists that cell

I am totally new to VBA and I am struggling a little bit with one thing. I want to make a macro, which checks values in "M" column. If value is higher than 5, then print "hello". If not then print "x"....

View Article

How to fix missing SQL connection manager in SSIS

I am trying to create an OLE DB connection in SSIS that I want to use for this package I am building which basically is supposed to do an ETL having it's source from Excel and the output in a SQL...

View Article


Track cell changes in comments in named ranges

I have a code that looks if any cell in Sheet1 has been changed. All the cells are formulas, so that's why I am using Worksheet_Calculate. If it's changed, it makes sure the user wants to record the...

View Article


Powerpoint Chart Data Update From Excel Instance - Data disappears when Edit...

I am editing a PPT template with data from Excel using the following code: Set shapeObject = oPPT.ActivePresentation.Slides(slideIndex).Shapes("Chart 9") With shapeObject.Chart.ChartData...

View Article

Image may be NSFW.
Clik here to view.

Excel Vlookup Formula

Hello Excel Vlookup Experts,I am trying to get a VLOOKUP formula to do the following. Using the columns E, F, and G as references, I am trying to populate data to column C. Column A and B must match...

View Article

Excel function to find nth to last non blank value in a row

I have a sheet filled with blood pressure (BP) data, arranged by month.I am interested in storing the last three BP values in a range per patient, each of which is assigned a row. Note that there are...

View Article

Looping and scanning a list of e.g., 200 strings against a column with string...

To the best of my efforts (VBA novice) I have been trying to write using stack and other resources a macro which would allow me to scan a given list of strings in excel against another much larger list...

View Article


Long running VBA macros are interrupted by svchost.exe

I have some Excel VBA macros that run for hours. The macros do millions of COM calls to get some information from a CAD application, crunch some numbers, then other millions of COM calls to the same...

View Article

Check if Two Values Share a Row Anywhere on an Entire Sheet in Excel

I need to return a Boolean (or count) if two values share 1 row (or more) on an entire page.The two values could be in any order on that row. They are not neatly organized in static, predictable...

View Article


Excel VBA Textfile to 2d array

I am new to excel vba. I want to read a textfile that contains text like this:John Smith Engineer Chicago Bob Alice Doctor New York Jane Smith Teacher St. Louis So, I want to convert this into a 2D...

View Article

Is there function in python which will read a excel column which contains...

The other column has 2 values. Active & deactivated. So basically what I want is to read the value of the date and if it is a passed date , change the corresponding row value to deactivated.

View Article


Excel VBA MinIfs with Array Slice

I am writing a code where I assign a range from a table to an 2-D array and then perform some analyses with that array. The array is of the variant type with columns 3, 4 and 5 containing the Item...

View Article

Having trouble passing variable into a sub searching - getting runtime error...

I am trying to have my code run a search for the "Part Number" string in a cell then copy that entire column. I have the code working when I run it without passing the string in and replacing the...

View Article

How to handle Excel events in F#? [closed]

Could someone post an example how to handle Excel Events in F#, as in this example but with F# instead of VB.NET.

View Article
Browsing all 88835 articles
Browse latest View live


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