VBA EXCEL search, replace with split delimiter in file .TXT [closed]
Someone help me Change value in txt file. I have this code from another project of mine, I would like to adapt it to this project: Private Sub TextFile_FindReplace() Dim y, i As Long, ii As Long If...
View ArticleCopy a selected range to another worksheet
I am using code below which I am trying to change so as not to use .selectSelection.Select ' from active worksheet Selection.Copy Sheets("Purch Req").Select Range("A1").Select ActiveSheet.Paste I have...
View ArticleOleDBConnection with IMEX 1 ignores AM / PM in time value
I read the xls file using this code:private static DataSet GetDataSetFromExcelFilePath(string filePath) { try { //Microsoft.Jet.OLEDB.4.0 using (OleDbConnection oleDbConnection = new...
View ArticleMy VBA code takes far too long, any suggestions on how to shorten the time?...
My code is designed to open a file, copy the contents of the file, paste it into a working file with formulas. The formulas identify whether a row should be ignored. The code then goes through each row...
View ArticleHow to change a specific text in a merged cell and have it change the same...
I would like to be able to select a text within a merged cell and change it, such as the text "1st" to "2nd" and then run a macro that would be able to find the text "1st" in other merged cells and...
View ArticleI'm using an "InBetween" UDF in Excel VBA and it works for 43 rows, then...
Using this VBA User Defined Function that yields a list of numbers that are in between a given set of parameter numbers. It works until the parameter numbers are greater than 29,999 in row 43. This is...
View ArticleSelecting and Modifying blank space
What I am trying to do is select and modify a blank space. For example, if you look at my excel file that I have posted, I have highlighted the cells of interest; If you look at column A you will...
View ArticleExcel VBA fast trim of range with evaluate not working
I'm trying to speed up the trimming of a data sheet with about 5000 rows and 12 columns.I've used a For Each Loop that works but always sets Excel into "not responding" for a while before it's done....
View ArticleExcel VBA that will copy real time data from a column into the next column,...
I am having trouble creating some vba for a project that involves real time intervals. The sheet I originally created for this some years a ago has disappeared in a Windows update last year. For the...
View ArticleVBA EXCEL search value and replace with split delimiter in file .txt
Someone help me Change value in txt file. I have this code from another project of mine, I would like to adapt it to this project: Private Sub TextFile_FindReplace() Dim y, i As Long, ii As Long If...
View ArticleAn unconventional transpose in excel
A part of my file consists in this:Et SF 1 4.4937 1 5.1257 1 5.2018 1 5.3755 1 5.741 1 5.9086 1 6.1399 1 6.2518 2 3.0424 2 3.2744 2 3.883 2 3.9595 2 3.9892 2 4.1603 2 4.2943 2 4.5118 And I would like...
View ArticleHow to most efficiently replace values if several conditions are met? [closed]
I'm a novice with VBA, and I'm seeking advice on how to best replace the values in the first table with values in the second table if the customer, PO #, and product name all match. Note that, in...
View ArticleWhat python library to do calculations like in excel?
Is there a library to do these calculations in python? For example dividing an amount by 10 to 10 “cells”? Thanks!
View ArticleDetermine if connected to VPN or Office Intranet or Office Wifi using excel vba
I have the following code with which i am successfully checking if i am connected to VPN from home to access company network folders.Sub doit() If ConnectedToVPN Then ' run other code to access network...
View ArticleHow to evenly distribute growth to each month?
Assume my Dec'2020 revenue is 1000. My total 2021 revenue forecast is 15000. I turned this into a monthly revenue increase evenly distributing the growth.I set every month equals to their previous...
View ArticleExcel sheet takes up a lot of memory for no obvious reason
I've designed a tool in excel for some clients that contains a sheet that acts as a user input form. On the sheet is an active-x combo bod, 8 shapes with assigned macros, and a range formatted with...
View Articlewhat programming language is best to get data from PDF form fields to excel...
As I have Excel vba code to get data from PDF form fields But It didn't work on MAC. So what is best way to get data from PDF files to excel (on MAC OS) i.e python, C++ or what is the best programming...
View ArticleCopy Data from sales sheet and paste it into next available row in sales archive
I'm trying to setup a POS system for a friends Startup business. I need to copy fixed cells from the invoice and paste them into a table that archives the sales data. The cells aren't in the same row...
View Articlecells add or remove to the formula dynamicly if there values only
I have % values on A1 to G1.In H1 I have multification formula.(A1*B1*C1*D1*E1*F1*G1).But I have only values in A2 to F2 and A3 to C3,A4 to E4.There is no pattern.How can I write a formula or vba code...
View ArticleHow to copy a data row from column A to column B, between each data row
Steps, I have tried to retrieve data from column B to column DGood afternoon,I have column B, with descriptions in Portuguese, row by row and column D with the translations in English: I'm trying to...
View Article