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

Import multiple excel workbooks each containing multiple sheets in R

I am trying to import multiple excel workbook files, each of which is comprised of 6 sheets, and concatenate them into a single R data.frame. I have multiple workbook files (wb1.xlsx), each of which is...

View Article


Equivalent function to Excel's BETADIST() in R

I am looking for the equivalent function to BETADIST(). I tried dbeta and dbetadist but these do not give the same result as Excel's BETADIST. BETADIST(1/13,2,4) = 0.050583 dbeta(1/13,2,4, log=F) =...

View Article


ExcelWriter Has No Output

I'm trying to used ExcelWriter to replace/update a sheet in an excel workbook with a dataframe read in from another file. If I just use df.to_excel() to write the file out it works as expected, but I...

View Article

Image may be NSFW.
Clik here to view.

Creating named range fails in French Excel

Updated: In French Excel version 1902 (build 11328.20438) this code is failing:Public Sub TestOne() Dim n As Name Set n = ActiveSheet.Names.Add("TestOne", ActiveSheet.Range("A1:E8")) Debug.Print...

View Article

Chart.CopyPicture vs Chart.Copy C# - Copy Paste large amount of excel charts...

Problem: I am trying to copy 1000's of charts from excel and paste in powerpoint using C# and Interop. My problem is that sporadically sometimes charts do not get pasted. How i solved it: I was using...

View Article


Using macros in excel to achieve A(y)=B(y) by changing y. A,B,y in rows

I don't have any code to show or any valuable progress that could be useful.

View Article

Returning an offset from multiple occurrences of a given input in a range

I have built a UDF to return me a comma seperated value of all offsets from matches within a search list. Sort of like a vlookup that returns a list instead of one value.I run it from a subroutine to...

View Article

how to compute t-test step by step

I am trying to compute the t-test using Excel, without the macro included in the software. Specifically, given a dataset, for example var1 21 34 23 32 21 42 32 12 53 31 21 - from here 41 12 14 24 - to...

View Article


Change the name ComboBox1 to ComboBox6 and remain code execution

I have a question regarding to this dependent ComboBox source code I have found online. Everything works perfect, except I have to use different combobox name other than ComboBox1, ComboBox2, and...

View Article


How do I insert picture based on textbox value in PowerPoint

I have a code which extract data from Excel and insert it into multiple slides in the PowerPoint.Dim I As Integer Dim oXL As Object 'Excel.Aplication Dim OWB As Object 'Excel.workbook Dim oSId As Slide...

View Article

Image may be NSFW.
Clik here to view.

Networkdays function to exclude only specific time in a day and include all...

I am faced with this scenario where I need to calculate the number of minutes between two date & time stamps with the Start and End time in different hours. My scenario is as belowExcluding Hours...

View Article

How can I copy specific range values in Excel VBA?

How can I copy specific range values in Excel VBA? I'm trying to copy a range by first creating an inputbox for the user to enter the range in another workbook, then copy that range's values from all...

View Article

How to automatically convert custom-formatted string to DateTime when reading...

I'm using OLEDB to read Excel spreadsheet. <add key="Data.Source.Connection.String" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=[DATA_SOURCE];Extended Properties=&quot;Excel...

View Article


Image may be NSFW.
Clik here to view.

How do I tell VBA to Delete Duplicates of a Data in the same Column [on hold]

Sample Picture of what needs to be done in this columnWhat I want to do is Delete the Duplicates of the same STOCK NO. in the column.. that's it actually.. EDIT: I want to delete the duplicate data on...

View Article

Inserting rows into two tables

I have 2 corresponding tables on separate tabs in my spreadsheet. Is there a way that when I insert a row in my first table a row will automatically be inserted in the second corresponding table?

View Article


Comparing a value entered through a userform with an existing value in a...

I am very new to VBA and I am developping a maintenace data management system using VBA. In my system there is a worksheet named Inhouse material inventory and the data fields in this work sheet are...

View Article

How do I copy last column value of an excel sheet to another excel sheet's...

This is the image of the last column in an excel sheet that I want to copy to another excel sheet last colummMay I know how to do it using asp.net c# code?

View Article


How can I add a border in each cells in excel, I'm using Vb.net and SQL Server

Hi I'm pretty New in generating excel reports using vb.net and I am having trouble finding the right code to put a border on each cell. So far I have this code that works fine but no borders. Dim ctr...

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):Product model Serial Number 1234 ABCD 5678 DEFG 1234 HIJK Product Technical Specification (in formula:...

View Article

Image may be NSFW.
Clik here to view.

Python cell Color is not updating in Excel sheet

I want to color the row/column of the excel sheet based upon the result ( Pass / Fail) but unable to do so. if Data variable is Pass will color Green or else Red, def...

View Article
Browsing all 88809 articles
Browse latest View live