Runtime error 13. Userform does not accept null values
I'm trying to feed the cell values to and from the userform called calcform. In doing so, the run command gives an error if the values are empty. Other than giving conditional statements to each of the...
View ArticleHow to delete VB code from an Excel sheet using C#?
Does anyone know how to delete all VB code form an Excel workbook using C#? This code doesn’t work. It removes first (last one) VBComponent, but rises ArgumentException on second one. VBProject project...
View ArticleHow do i move person data to the sheets that it is linked with VBA
I have a sheet with some fictional personal data: phone numbers, addresses etc. I have around 200 different persons, So i have made an vba that automatically creates sheets based on the names of the...
View ArticleIE "wrong" login details
Background:I'm trying to automate a procedure to add records to the Ultimo database. This requires me to login their website.Sample Code:Below the attempt I made:Sub DIS_Ultimo() '----------------- Get...
View ArticleMerging a newly added date interval into a already merged database
So I have this MySql table which stores all the prices that a product had trough the year, and I want to be able to change the prices by adding a new date. The values in the table are already all...
View ArticleAppend new columns into Excel with MATLAB
I would like to ask how to use MATLAB to append new columns into existing excel file without altering the original data in the file? In my case I don't know the original number of columns and rows in...
View ArticleExporting mysql datababse to Excel
now am trying to export mysql database to excel sheet and i am using php/mysql to preform that and everytime i get this error i've tried everything but i can't find a solutions for this case Warning:...
View ArticleMicrosoft office.js Excel add-in - retrieve worksheet/workbook unique ID...
We have built an Excel Task pane add in that primarily works with worksheets. As per our requirement we wants to identify excel with there unique ID's whenever user close's the excel and reopen it...
View ArticleIdeal Language To Use For File Retrieval and Automatic Data Import to Excel?
Starting a new coding project provided to me from work, however I am a Mechanical Eng student, so I'm asking this community of geniuses for help. My project involves searching for specific folders...
View ArticleExcel VBA UDF Returns #VALUE Error When Adding Or Deleting Unrelated Sheet
First time posting, apologies if I make any mistakes!So, I'm having a pretty strange problem with my UDF. In my workbook, I have an invisible 'template' sheet named "Standard Phase Sheet", and a...
View ArticleIs there a way to express variables with a range of numbers to meet a loop...
Is there a way to express variable f as a range of numbers like for instance, f = 4 to 9 in excel vba? Because my intention here is to create a condition such that for i = 1 to lastColumn, if i falls...
View ArticleHow to divide up data through rows in excel using python
I need to divide data in an excel and put it into another excel using pythonFor Example, suppose i have an excel which has 1000 rows of data as followsName Number name1 number1 name2 number2 name3...
View ArticleVBA - count rows foreach table inside a table (listobjects?)
I am fairly new to VBA(used it for 3-4 days now) And I have a problem with it. How my code is setup I have 2 sheets. Sheet 1 are rooms Sheet 2 are the description of rooms Foreach room in sheet 1 I...
View ArticleHow do i add text to specific cells already containing text given certain...
Worksheet pictureI want to add the text LAURA to column E in front of the existing text in the column when it gets copied to the targeted worksheet:Private Sub CommandButton1_Click() Dim wsSource,...
View Articlehow can i use get the columns data when looking through them?
I have multiple sheets, each with 1 only 1 table at various widths and heights.I am trying to achive: once user have selected sheet via combobox, (this works) then i can list the headers from the table...
View ArticleWriting a matrix in excel
I am trying to write an excel file from a python script.I tried to make it with a 24x32 matrix (12 for all the months and one blank column and 32 for all possible days plus 1 more row for the name of...
View ArticleUsing existing values exported from SAP to populate new column values through...
I am having trouble coming up with a VBA code creating a new column with values based on an existing column. The code I have is shown below. I tried to attach an image of the excel file I am working...
View ArticleCreating DataValidation that evaluates to an error with openpyxl
Using python and openpyxl I'm trying to create dependent list of data with DataValidation like in example from this article. DataValidation works fine when I'm pointing directly to some range of cells....
View ArticleHow to match a comma separated cell to sum values from multiple rows?
I have been trying to take the value of one a cell: ("String 1", "String 2") and then search in another column for each instance of "String 1" and "String 2", and sum their output on column+1. I...
View ArticleI need to populate a specific cell in multiple worksheets by looking up values
I've created 211 new worksheets using VBA based on values in a specific sheetfor example lookup sheet is populate like this Column A is names example Joe Bloggs Column B is a value example ~005404Now I...
View Article