Moving sheet from one WB to another New WB
I have made the following code for moving sheet from one WB to another New WB.However I am experiencing errors.Sub MoveSheets01() Dim ws As Worksheet Dim newWB As Workbook Dim oldwb As Workbook...
View ArticleHow to execute macro only after user pastes values in a certain range VBA...
I am wondering if in VBA there is a way to "wait" for the user to copy and paste certain values in a certain range, and once the range is pasted, a certain macro will execute. In this case it's...
View Articlehow to extract multiple columns stored using indentation in Excel using python
I have an excel which is structured like this: The different levels of ledgers are all coded in the first column itself using indentation. I want to extract the different levels and flatten them like...
View ArticleLoop through folders and extract Excel Columns with Python
Hello I have data in several excel sheets spread through different subfolders so far I 've been able to write a code that extracts the columns that needed and save them in a dictionary here's the code...
View ArticleHow to insert a background image for an Excel Comment in .xlsx formats...
There is a question which solves how to add a background image for an Excel Comment in versions previous to 2007 (format .xsl), with HSSF Apache POI.apache poi insert comment with pictureBut looking...
View ArticleMultiple loops in VBA are slow [duplicate]
This question already has an answer here:Delete large number of rows (e.g. ~500k rows) based on a certain criteria 2 answersEntireRow.Delete performance issue 2 answersFaster way to delete rows 40k+...
View ArticleCombine multiple formulas
I need to be able to calculate results in an Excel spreadsheet and have written 5 separate formulas to cover the possible number of selections. In short, the technique is known as Dutching, whereby if...
View ArticleApplying condition using Microsoft Excel
Can we apply a condition on excel?I need "Remaining Issues" as 0 if "Fixed" is True and "Remaining Issues" as 1 if "Fixed" is False.
View ArticleExcel VBA Updating cell contents to be clickable hyperlink
I have a register that has an edit sheet. The user selects the record they want to update and the code updates the report (Sheet "EditEx") with data from another sheet. the issue is there are a couple...
View ArticleIs it possible to parse csv data in browser with VBA?
I'm trying to automate a process using VBA whereby a .csv file is downloaded from a website and a particular column copied into a workbook and plotted against another column in the workbook (after...
View ArticleSearch through rows in entire column
I'm writing a simple Excel VBA program to search through the entire client database, looking for the specific record. While doing this, I've encountered a problem - after encountering first match, it...
View ArticleRecognize which Excel pivot tables will overlap after refresh
Within extensive Excel files (=approx. 40 sheets) there are many pivots (drawn from a single OLAP cube; hence one connection for all pivots). Often, there are several pivot tables within the same...
View ArticleHow to do if "=" multiple values"
So I am relatively new to vba but am trying. I want a message to show if a user attempts to change a cell based on its column title. Before anyone comments that I can just protect the cells I am aware...
View ArticleUsing VBA. How to restrict objects in MS PowerPoint to overlap with each other?
Using VBA from excel to handle PowerPoint. If 1st Textbox gets bigger, and starts to overlap with another Textbox it MUST to push 2nd TextBox out of 1st TextBox. enter image description here
View ArticleI would like to select a range in a column only until a certain...
I need help in setting a range to a variable. Basically, I have a column with an "if" formula in it. The results in the formula returns either a "" or a number. Here is what I have currently. This...
View Articlemake direction of excel sheets of my birt report right to left
I have a birt report with excel output. I want to make the sheet direction right to left. I try to do this via adding new style, but the style just make the text in cells right to left, not the...
View ArticleHighlight cell from another cells value (dyanmic range)
After digging through very similar posts I just can't find a solution to my unique request. I have been able to build a formula up to this point using those threads but I am just getting confused with...
View ArticleCreate new sheet with name from value of other sheet's cell's value
I have 02 sheets as follows. I want to add new sheets with name predetermined in "Sheet_Name" Column of Sheet " Summarize".For example: I have entered 03 sheet name " ABC" , "BCC", "XYZ" then 03 sheets...
View ArticleVBA to extract data without URL
I got a business case where the data needs to be extracted from multiple IE's. VBA tool which is placed currently is identifying the IE1(URL based) and extracting data however in few cases when...
View ArticleIf match error when a value does not match
I currently have this: =IF(MATCH("Example",D:D,0),"Not Available","Available"). The problem is that if the value isn't in the column, it gives the #N/A error. How do I make that go away? I have read...
View Article