Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50040 articles
Browse latest View live
↧

Alert and filtering based on conditional formatting VBA

Hi all, Looking for some help with VBA. I want to build a macro that runs when the workbook is initialized that will filter a sheet based on a due date (where the duedate<= Today()+90). What the...

View Article


[SOLVED] Is it possible to build a button to add 10 rows ontop wherever row...

hello guru's , I would like to use this button in 1000's different places in my excel workbook, would love to know the best code for it, would be great if that'll be dynamic, so If I'll copy and...

View Article


Add Pop Up Calendar to Multiple Columns with VBA

(please be gentle, I'm a total noob) I have found this code that seems to work with popping up a Calendar when I click anywhere in Col. 3. But I would also like the Calendar to pop up when I select...

View Article

Freeze a cell when spreedsheet opens

Can anyone give me a macro that will freeze the contents of a cell the next time I open my spreedsheet. I have a report that is updated daily and takes the average from another work sheet which is also...

View Article

Create a Drop-Down List of Delmited Text within a selected Cell

I am looking for a macro to convert delimited text within a select cell to a drop-down list with all values that were that cell. The delimiter is a comma. For example, if the selected cell has the...

View Article


vba lookup logic for multiple tabs

cvI have a spreadsheet I am working on to look up a zip code amongst multiple preset zip code ranges, and return the rate of a service from multiple providers (for analysis/comparison use) to that zip...

View Article

Need a Macro to pull data from one cell and place into another one time

My Macro abilities are very limited and outdated, so I am reaching out to the group for some guidance on what I want to do. See the attached png files for a couple screenshots. database 1.png database...

View Article

Macro to search all sheets and return corresponding rows of searched value

HI all, I have a workbook with 13 sheets. Each sheet has 20,000+ rows. The format is the same on all sheets and columns A & B are unique (Item number & Item name). Currently, if someone needs...

View Article


how make to command buttton from working if cell are containing certain number?

hi im try to make vba test range of cell that are highlight to to see if the cells contain 133, if it does to stop command button from working but allow command button to work if the other cells do not...

View Article


Image may be NSFW.
Clik here to view.

How to delete number in string

Hello All, Please help me how to delete the number in string and I have sample in attached. Regards. tt3 Attached Files DeleteNumberInString.xlsx‎ (12.8 KB)

View Article

Image may be NSFW.
Clik here to view.

Loop Import HTML Tables, Extract 3 Cells from Table, Do Calculation on Cells

Hi Everyone, Bit of a challenge I have come up against to import tables stored in HTML across a number of subfolders. Every day an HTML file is dumped on a server subfolder in the format of...

View Article

populate a combobox based on unique values in another workbook

hi good day i have two workbooks, the one is used as a register the second has a form with some comboboxes. i want : 1. the combobox on the form to be go look in the 1st workbook at a specific column,...

View Article

VBA Speed Variations

Hello I'm trying to find out why macros take varying times to run. I can run a macro that takes 16 seconds to complete the first time, 22 seconds the second time, 33 the third. If I close & reopen...

View Article


How to automate this simple Macro ?

I want to run this macro automatically, if D12=1 What I want to do is to write 1 in cell no D13 and D14 and then delete that 1 from D13 and D14 ! But This should be triggered if D12=1 Can someone help...

View Article

populate 4 combobox based on dependant combobox

good day i have a sheet with various columns eg. DISTRICT, TOWN, NAME, RATE. In another workbook i have a form with which i am calling the values in the first workbook. i wish to populate the first...

View Article


Image may be NSFW.
Clik here to view.

Summary of all Sheets

Hello: Please refer to attached sheet. I have excel workbook with data for each month. I need a VB Macro to copy all the data from each month from Cell B4 to end of data into "Summary" Sheet. In...

View Article

Image may be NSFW.
Clik here to view.

Sumproduct or SumIf

Hello: Please refer to attached sheet. Sheet2 and Sheet3 has data where Column A has Month and Column B has Client code In sheet1 in need to match the client code with the month and populate the data...

View Article


Close Workbook And Rename Worksheet

Hello, I got that vba code somwhere in the forum after some little amendment I took it into my work The code does the following Code: Sub OpenFiles() Dim Folderpath As String Dim cell As Range Dim r,...

View Article

[SOLVED] Macro to delete rows based in the comparative of the columns between...

Hi Guys, I need to create a macro to delete the rows of the Master sheet based on the Report sheet. The condition is, if the the number in the column A in the "Master" sheet is not in the first column...

View Article

[SOLVED] Run-time error '9': Subscript out of range

Please help me to find why there is always the error of Run-time error '9': Subscript out of range For the macro below. It is proved to be working by Jerry Beaucaire, but just do not work in my case....

View Article
Browsing all 50040 articles
Browse latest View live