Windows 10 File Explorer Search for Excel File [closed]
Our company has a standard costing excel sheet. The sheet has been through many revisions. There is a revision tab within the spreadsheet. I believe we had a problem with an old revision and I want to...
View ArticlePostgreSQL escape characters when using Excel formula
I'd like to generate a query like this:select id, '=FKERES(B2;'D:\nyunyuka[kotyog.xlsx]Munka1'!$A:$B;2;0)' as excel_formula from table;I learned that i have to escape the ' character using E but it...
View ArticleWrite a random value in a cell if the cell has the same value that can be...
I have the below two sheets in an excel file. I need a VBA code that will write in the column Status the value "Completed" but only if the ID is found in Sheet2. So for example, in Sheet1 I want the ID...
View ArticleCopy one cell from multiple workbooks
I'm new to VBA. I have a series of workbooks from which I have to copy one cell and paste it to one final workbook. Is there a way to open a desired workbook (based on it's name in the table (final...
View ArticleAutomating email delivery
I took an example of automation from a book (Automate tasks with Python) which consists of opening and reading a spreadsheet and checking if the fee has been paid, if not, send an email to the client...
View ArticleVba bitness migration - Type Mismatch on "-" operator
We have recently begun migrating to Office 365. First day after migration, a user reported a problem with the following piece of VBA code, using the kernel32.dll library:'@Esposed '@Folder System.Text...
View ArticleExcel transpose data from column to row based on cell data [closed]
I have an excel data like below. Original:I would like to transpose to below base on the key value "Tutorial":How can I do it?Thanks in advance!
View ArticleHow to search for a domain name based on the IP address in Excel or Powershell?
I have a few IP addresses on excel file, I want to do nslookup. How can I do it on excel or powershell? Any ideas or recommendations. Don't confuse yourself with vlookup. I am asking for nslookup in...
View ArticleProblem adding new point on curve in CATIA V5 VBA
I am currently writing a VBA script for Catia V5 with the objective of defining an endpoint on a reference line. The section of code I'm having problems with at the moment looks as follows:Dim...
View ArticleCopy from one workbook to another with checking cells
I am trying to copy some data from one workbook to another, with checking certain cells content from 2 files. Below is my code: Sub GetFileCopyData() Dim Fname As String Dim SrcWbk As Workbook Dim...
View Articlewrite urls in excel using pandas in python
I have a demo xls sheet which consist of a column named "Date" in which both date and time are given. I have some videos saved on the cloud with epoch as its name(ie. 1580984820_1580984820.mp4). now I...
View Articlehow can i pass a optional value to a sub?
I am trying to use a sub. Maybe I should do it as a function because I will be calling this many different times.But for now it's a sub, unless that is why it's not working?I'm passing two sheet names...
View ArticleRemove tildes and characters from excel file in python
I have a script in which I am auto-populating an excel file with data from another file. The only problem is the text in the columns has tildes in it so the result is N/A. Is there a way I can remove...
View ArticleFind and FindNext
I’m new to VBA and need some help. After days of searching on internet and experimenting with code, I can't get it to work.@brettdj, @ryguy7272 Thanks alot. Both your codes works perfectly, but I...
View ArticleExcel VBA Object Invoked has Disconnected from its Clients
So I'm working on a user form to pull data from different excel sheets and build a summary sheet based on user inputs. All of this is within one workbook without external links, and most of the...
View Articlec# interop Excel - disable or remove automatic page breaks
Since I need only manual page breaks in my Excel application, I'm trying to remove the automatic ones. My researches provided a lot of suggestions, but somehow nothing really worked. I've seen code...
View ArticleHow do i show a cell total based on the month?
I am having problems with a KPI dashboard function.I have cell A1 showing the current month =TEXT(TODAY(),"MMMM")In B1:B12 I have the months of the year listed and along side (C1:C12) I have monetary...
View ArticleGoogle Sheets script to automatically locate cells with todays date, copy the...
I've built a reporting tool with google forms, where everyday I fill the forms, and the responses go to a spreadsheet. The spreadsheet has timestamp on column A, and the rest of the columns are the...
View ArticleHow to make a macro open automatically when I start excel on mac os?
I am trying out excel for MacOS and want to set up my Excel with some custom macros that I tied to keyboard shortcuts in my windows setup. I want the macros to be available any time I start excel.To...
View ArticleExcel - VBA or formula Cell returning conditional value
I need help, please, to make the following possible:In the 'Result' sheet, cell C1 should return a value, based on the conditions as prioritised:First, check Sheet4 D1 and if there is a value there,...
View Article