ActiveWorkbook.SaveAs parameter set-up
When I use ActiveWorkbook.SaveAs to overwrite a file the massage window comes up Yes or no.How can I set up ActiveWorkbook.SaveAs to overwrite the already saved file whithout additional pushing yes or no?
View ArticleVBA Setting Chart Source Data with Variables?
Trying to set source data using two sections of data for a chart using variables. When I use just one of the variables it selects the right area for the respective variable. However, when I put both in...
View Articleexcel formula, detect building number in address
I have a column with addresses. I need a formula in excel to detect whether this data has a building number in the address line 1. Please see below sample data. I am trying to detect if this is a good...
View ArticleMake an Excel COM add-in a VSTO add-in
I have coded an Excel add-in using Visual C#. This add-in appears as a COM add-in in Excel. However, I am quite sure that it used to appear as an Excel/VSTO Add-In in Excel before an update of Visual...
View Article(VBA) How to stop .xlsx files to be created after converting from PDF?
The problem is that sometimes it doubles the converted Excels, such as creating blank xlsx files when browsing to save the converted xlsx file. No idea why this happens, probably due to temporary...
View ArticlePython Pandas Autogenerating spreadsheet based on 2 other spreadsheets
So i have kind of a complicated problem im attempting to solve. I have to make around 500 spreadsheets that have around 500 rows each and am trying to solve this problem with pandas and python. The...
View ArticlePaste non-adjacent formulas - values only
Is there VBA code that will allow me to search for all cells containing formulas, copy them and paste over them values only? I tried F5, Special, Formulas. At that point it will let me copy all the...
View ArticleHow do I concatenate a date cell (independant of locale) to a string in Excel?
I have a date cell 2020-02-21. In my mind CONCAT(A1," my date") should procude the expected string "2020-02-21 my date". But no, Excel decides to treat is as a date and convert it to a mumbojumbo...
View Articlegroup separator in excel
I would like to add group separator to a column of texts with numbers in it, e.g. from 78898 (30.18%) to 78,898 (30.18%)but the NUMBERVALUE function didn't work.And if convert using the "text to...
View ArticleRead Printer Installation File and get Printer Section Information an write...
INTROfirst of all - sorry for my english - and im new to excel vba. I have an Excel User Form with some TextBoxes, 2 ListBoxes and 1 Button. If i click the Button it opens a File Dialog and i choose a...
View Articlecomo faço pra delimitar por virgula um arquivo CSV com vírgulas no corpo do...
When I try to delimit my CSV file with commas, I have problems because I have commas in other parts of the text. How can I use commas as delimiter in my file without breaking the text containing other...
View ArticleHow to Insert a Visible Autofiltered Row into Another Sheet (Excluding Header)
I am trying to AutoFilter (in column A of SHEET 1) the Active Cell in SHEET 2. Then I have an IF Statement that counts the number of Visible Rows, and if it is more than 1 (to exclude the header) then...
View ArticleGoogle Sheets published on the web continue the calculation even if closed
I have an Excel spreadsheet with a huge amount of data to calculate in real time.I noticed that Google Sheets has the option to publish the spreadsheet online and update it every 1 minute.My...
View ArticleExcel Object: Impossible to open an embedded object
I'm new and have a question. Hoping that someone can help. I have received an Excel Document with embedded PDF Objects (first picture).Embedded Adobe Acrobat PDFI can't open it, because Acrobat Reader...
View ArticleSum column grouped by multiple columns in an excel / csv file with Python3
I'm new to Python and would have been able to solve this quite easily with COBOL, so I'm not that young! I want to iterate over the file / dataframe and sum a column (duration in hh:mm:ss) for all the...
View ArticleRemove duplicates from array using VBA
Assume I have a block of data in Excel 2010, 100 rows by 3 columns.Column C contains some duplicates, say it starts off as1, 1, 1, 2, 3, 4, 5, ..... , 97, 98Using VBA, I would like to remove the...
View ArticleMS Excel "if else if" condition
How to write in en MS Excel the following condition:if b<0 then b:=0; else if b>1 then b:=1; else b:=b; ?
View ArticleHow can I write down all replications result of Arena sim via Excel VBA [closed]
My aim is to run Arena simulation via Excel VBA and get results of simulation to Excel. I wrote some codes. As you can see, my codes start Arena simulation. And parameter "j" holds the solution of...
View ArticleSave Excel OLE Object to disk via MATLAB
I have a spreadsheet with two jpeg files embedded in it. I would like to extract these and write them to a specific directory. I can do this in VBA as:Sub Macro1() ActiveSheet.Shapes.Range("Photo...
View ArticleHow to select a directory instead of a file in a Save As dialog in VSTO?
I am creating an Excel Add-In with VSTO and C#, and I would like to set the directory where the Add-In resulting files are saved (their filenames are programmatically generated).I tried using...
View Article