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 ArticleEquivalent 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 ArticleExcelWriter 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 ArticleCreating 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 ArticleChart.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 ArticleUsing 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 ArticleReturning 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 Articlehow 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 ArticleChange 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 ArticleHow 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 ArticleNetworkdays 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 ArticleHow 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 ArticleHow 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="Excel...
View ArticleHow 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 ArticleInserting 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 ArticleComparing 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 ArticleHow 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 ArticleHow 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 ArticleList 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 ArticlePython 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