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

color alternating rows

Hi to all, this macro color alternate rows if column A is not empty. Is it possible to modify "or even the B / C column" ? Code: Option Explicit Private Sub Worksheet_Change(ByVal Target As Range)...

View Article


Image may be NSFW.
Clik here to view.

Copying text from clipboard to first empty row

I have a 30 line text file with all lines looking like this, some separated by empty lines. All have a 'return' (CR LF) at the end. Code: GPX file name = tFileName =...

View Article


Multiple condition in regex

I want to part of full name with Bachelor academic For example in col b Dr.ir. Alex,Msc col C dr.ir col d =Alex col e = msc In my code has sucsess if any sign after bachelor to col c,d,e Ir.alex or ir...

View Article

Image may be NSFW.
Clik here to view.

Automate Data Values into Text Boxes in real time

Hi, I created a graph for my company. I make this for my personal company once a month. The problem is ITS SO MANUAL. 1. To get to the point E34:F41 will become the new values in text box in the rows...

View Article

Image may be NSFW.
Clik here to view.

Insert table with non zero values using a userform

Hi, I am looking for help creating a VBA userform in my excel workbook which would contain a table displaying select entries from my raw data table that contain corresponding non zero values. Please...

View Article


Need Help on Macro to Copy Shape and Paste into PowerPoint

Hello Folks I have got a macro that copies Excel Sheets and pastes onto Powerpoint which works fine, however I have specific sheets which holds Grouped Shapes (Basically Excel Chart with some Text...

View Article

[SOLVED] Remove empty entries from combobox list

Hello, I have a couple Comboboxes and a Listbox which sources are labeled ranges. These ranges will get data added to them regularly so changing the scope is not a solution. There are lists with up to...

View Article

Lottery Lines: Matching values in a table

Hi everyone, If I have a table of values with five columns and 20 rows, each row is an individual set with five distinct elements. The possible range of values in each cell is from 1 to 99. I am...

View Article


Adding Conditions to Auto-Sort Macros

Hello, I currently have macros that will auto-sort dates in C8:C208. Is it possible to modify the code so that it does not auto-sort until data is also entered in the adjacent D and E cells? So, for...

View Article


Image may be NSFW.
Clik here to view.

Help Required on Bank Reconcoliation

dear fellows, i want help on bank reconciliation, where in 1st sheet in put pendinf cheques of last month and in 2nd sheet i put GL and in 3rd sheet i put Bank statement. In bank statement, aal...

View Article

Add border automatically

Hi all, I have tried playing about with Conditional formatting and recording a macro to see code, but just end up baffled, here's what I am trying to achieve, if cell B10 has data entered into it, i...

View Article

Image may be NSFW.
Clik here to view.

A macro wich will delete (or hide) rows in one tab under conditions from...

Hi guys, as I'm not really familiar with VBA, this is really hard for me to figure out how to write macro. I already have a macro, which I need to change (or to just have new one), because need to...

View Article

Image may be NSFW.
Clik here to view.

Cant Figure Out Syntax For Range As A Variable

Hi, Im having a problem with using range variables, basically the CriteriaValue variable refuses to work correctly, & gives errors whenever its called ... Im pretty sure its the syntax, & not...

View Article


Creating Outlook Rules via Excel VBA

Hello everybody! I am currently trying to create a folder and then set up a rule in Outlook via Excel. While creating the folder works just fine, the code below does not create a rule even though it...

View Article

Image may be NSFW.
Clik here to view.

Offset Alters Entire Range, Need To Offset A Single Cell

Hi, Im trying to offset the range in ValuesRange = Range("A1:A4"), but I need to just offset cell A4, atm it offsets the entire range so it looks like : A2:A5 A3:A6 etc., I just need the A4 part...

View Article


Image may be NSFW.
Clik here to view.

Inserting row into excel table in protected sheet

Hi, Edit Mod : this thread is related to https://www.excelforum.com/excel-pro...ml#post5267116 I have an excel table in a protected Excel sheet. I should be able to insert row(s) in the table but it...

View Article

Image may be NSFW.
Clik here to view.

If cell matches then paste cells on same row

Hiya, I need the code to be able to do the below. I've had a go but not come anywhere near. Compare the cells in column 2 in Sheet2 against column 2 in Sheet1. If the contents of the cell matches the...

View Article


Image may be NSFW.
Clik here to view.

Using Offset As A Variable Gives Errors

Hi, Not sure why this doesnt work, trying to use offset as a variable - ValuesRangex = ValuesRange.Offset(i, 0).Address, everything else works fine. Thanks again. Code: Sub ValleyDips()     Dim...

View Article

Image may be NSFW.
Clik here to view.

Delete all rows where column F = 0

Hi all, I'd like to delete all rows (entirely) when column F has a value = 0 I tried some past macros from this forum but got "Could not complete operation" error when I tried them. I've attached my...

View Article

Vlookup other workbook open workbook on background

For my userforum I make a code with Vlookup to search for data in a other workbook, the code is working perfect. I like to work with different people together in one workbook Only I have one question,...

View Article
Browsing all 49895 articles
Browse latest View live