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

Template with Summary update

Hello, I'm looking for some help with a macro. I want a workbook that contains all POs for a single project, with a summary sheet at the front that holds a running total of ALL the POs. I have worked...

View Article


Make an Exception to my clear all pivot table filters

I am using the following code to clear all filters in my pivot table: Code: Sub Pivot_ShowAll()       Sheets("Project Search Form").PivotTables("PivotTable1").ClearAllFilters     End Sub There is one...

View Article


VBA to: Look in folder for .xlsm file, and list its filename in cell

Hi, I'm looking for VBA code that will look in a specific folder (fixed filepath) for a .xlsm file (there will only be one .xlsm file in the folder). I would then like to have the filename of that...

View Article

Code to Clear Contents if values is zero

Hi, is there a code to clear contents of a cell with zero values, i have a huge excel file (15-16 MB) it has a lot of zero values i want to get rid off. Thanks in advance.

View Article

Automatically Send Email when an task is expiring

So I am really confused on all the code I have seen and am not sure how to modify to actually make it work in my workbook. I have a worksheet that has tracking for employee recertifications and also...

View Article


olease help me

if in any cell of column A i wrote text "FOC" then active cell of column B should have only numeric value and if in any cell of column A i wrote any numeric value then active cell of column B should...

View Article

[SOLVED] Put color in copied row first cell

Hi I have below macro, which i would like to put a color in the row it copy to the sheet. My macro copy from the stated fields in my sheet masterinvoice(which is a form to fill out) to sheet which is...

View Article

unhide 1 row that is hidden at the time if previous row is filled in

Is it possible to unhide 1 row at the time from a certain range --> see below. So if row 52 is filled in automatically row 53 will need to appear like row 53 till 69 row 77 till 111 row 173 till 177...

View Article


status of a do while not loop in a label

Hi all, i have a user form to search the strings with do while not loop. when it is searching i need the line of "searching..." in a label. what will be the code for this? please help me. if you want...

View Article


Image may be NSFW.
Clik here to view.

Link to specific cell using the cell value

Hi experts, Please help me out in this task. Attached sample file. I need to create a direct link to particular cell using the value of cell. Eg. I have a Emp. code and Emp. Name in A2:B15 And I have...

View Article

Select sheet and range at once

Can anyone remind me why this doesn't work. Code: sheets("sheet1").range("A1").select It will work if I separate them. Code: sheets("sheet1").select range("A1").select and sometimes it works if I do...

View Article

Highlight Row from TextBox in Userform

In my userform, the user enters a row number into TextBox3. I'm trying to have the entered row highlighted after the user enters it. I think this might be a TextBox3_AfterUpdate, but I'm not sure what...

View Article

VB button to add "1"s

Hi, I simply now little of VBA for excel... thus would it be possible to create a button; when pressed adds the digit "1" to a cell (pressed again add another 1, 2 appears in cell). is this a simple...

View Article


Image may be NSFW.
Clik here to view.

Sales Report: Percentual contribution of each client's vertical to overall sales

Hello all, First of all, I would like to apologise if this has been raised before. I didn't find it from a quick browse. So, I want to produce a report which shows the percentual contribution of each...

View Article

Need micro compare code in sheet2 and sheet3 with code in sheet1

Please help me to find micro that compare code in sheet2 and sheet3 with code in sheet1 and give me result in sheet4 if any code in sheet2 or sheet3 didn't find in sheet1 copy it into sheet4 and show...

View Article


Image may be NSFW.
Clik here to view.

calculate time difference

hello I need a vba macro which can calculate the difference between 2 hours the problem is that I have the date in column A and the hour hh:mm:ss in column c so I need the difference between every...

View Article

how to exclude a criteria using auto filter

In my spreadsheet the column "C" can contains all values of 0,1,2,........10. What exactly i need is, if the column "C" contains any value other than 0, in need a msg box that "values greater the 0...

View Article


Automating content insertion based upon existing data values

I have a large spreadsheet which contains certain key values in a designated column. What I would like to do is insert new line items and insert them with specific content as follows: At the end of...

View Article

how to select list box 2nd column value.

Hi Every one, How to copy Listbox 2nd column value. actually i want to copy the column "A" value of that selected listbox value. vba code to copy the listbox 2nd column value? how to hide one column in...

View Article

LBound/UBound Intersect together

Hi guys. How can I make this code working? It should take cell from rng2, go through first row in rng1, compare it and if it doesn't find match, paste this cell in somewhere (destination is...

View Article
Browsing all 50049 articles
Browse latest View live