Macros to Create multiple timestamps for adjacent column values in Excel
Private Sub Worksheet_Change(ByVal Target As Range) 'Update 20140722 Dim WorkRng As Range Dim Rng As Range Dim xOffsetColumn As Integer Set WorkRng = Intersect(Application.ActiveSheet.Range("B:B"),...
View ArticleHow can I exclude certain sheets from VBA code?
I want to try and exclude certain sheets in my workbook from the actions the VBA code is designed for. it basically compares all sheets against each other and winds up giving me any duplicates found in...
View ArticleExcel VBA Looping through Worksheets and Copy Paste into a different Worksheet
I am new to VBA and I am trying to write a code to copy data from one worksheet to another one. I have checked various sites and tried to write the code, but until I always get an error. The setting is...
View ArticleSelect values only depending on comma based string to another cell [closed]
A1= 10,20,30,40,50,60,90,100,110If I want to write 10,20,70 in cell B1 then it should deny me as 70 is not is cell A1. Ex-if I write irrespective of order in B1 cell 10,50,40,20 it allows me but as I...
View ArticleI get problems creating a collection in Excel VBA
In the VBA Editor, I have created a new collection of worksheets with the following code:Set Page1s = New Collection Page1s.Add Workbook010.Sheets("1stPage") For now, I've got only one worksheet in...
View ArticleMatching rows between two columns to get an exact or partial match
I’m having a problem writing a query in power bi for matching two rows partially or completely. In addition to that I’m trying to calculate the match percentage if found and put the results in a new...
View ArticleHow can I convert time into decimal in excel?
I was using a formula for converting hours greater than 24 hours but that formula gives an error when it comes to thousands of hours.I want to convert 283398:02:08 into decimal, but every time I try it...
View ArticleSearch for a file and return path
I need some ideas here... I have a column which has file names. I have a folder which has all the excel files. Is it possible to link both these and get the file path in adjacent cell? for example: I...
View ArticleFilter for the previous month only - Excel VBA
I have a data set for the past 11 months (from Apr 2019 to Feb 2020). I have created a pivot wherein I am trying to filter for all months except the current month. The Month is in the format - 1, 2,...
View ArticleWhy does "Paste Method of Worksheet class failed" occasionally occur?
Some context: the following macro opens the most recent file in the specified directory. I am trying to copy all the data in the newly opened sheet into another worksheet. Sometimes, and only...
View Articlevba code for looping Specific excel files [closed]
i have an excel code wherein i need to ask user to browse the file in the particular folder. Later i want user to perfom some operation on file and save it and close it. my code performs actions on all...
View ArticleAdding parameters to query with a path source
I have query code from excel:= if Date.Month(Excel.CurrentWorkbook(){[Name="Request"]}[Content]{5}[start])=Date.Month(Excel.CurrentWorkbook(){[Name="CurrentDate"]}[Content]{0}[CurrentDate]) then Source...
View Articlescaling to "Fit All Columns on One Page" in birt
The report I have developed contains so many colomns that they do not fit into the sheet when report gets printed.I am trying to change its scaling to "Fit All Columns on One Page".As I understand the...
View ArticleVBA extract worksheets from different excel data
I have a a big problem with my VBA macro and I cant find a solution, so I hope you guys can do.I would like to extract worksheets from different excel data, copy them, and paste the extracted...
View ArticleHow to add items to a ComboBox from a Excel sheet row?
I'm new in the world of VBA macros. I'm trying to create a user form with several ComboBox in it. I know the method to an item one-by-one but I'm trying to add a whole row from another Excel sheet.What...
View Articlegetting an element from html for VBA automation
New and self taught in VBA so sorry if I can't explain the situation too well. I'm trying to single out the text "Case not required". When I use getelementsby***** I just keep getting 438 or 91 errors....
View ArticleNeed to work out an excel formula to get a starting and end time from some...
I am trying to pull the start and end times for the data I have but I am unable to work out the formula.The the current data shows blanks for when no sales occurred so the output would need to be...
View ArticleOfficeJs - Get Font/Theme colors of excel/powerpoint file
How can i get excel/powerpoint theme colors in font settings via officeJs? Is it possible at all?I need first row, but if i get all rows it is not problem.
View ArticleNested ifs in Data Validation in Excel
I have two dropdowns in spreadsheet. When user choose U in first dropdown there is =IF(prefix="U",Uoption,"-") then in second dropdown there are only values from Uoption but now when I try to add...
View ArticleBetter Way of Searching Multiple Sheets with Index Match
I Currently have the below method of searching and returning results within multiple sheets.Is there a better/faster/simpler way?=IFERROR(INDEX(S1!P:P,MATCH($B$9,S1!$M:$M,0)),...
View Article