rcell

  1. N

    Slow loop processing

    I was asked to find and replace pound signs with a percentage sign in a particular workbook. Rather than doing find and replace all, I want to loop through all worksheets in VBA and see if the first character in each cell is a pound sign, remove that pound sign and replace it with a percentage...
  2. M

    VBA code to update displayed result

    Hi all I am new to VBA/Excel so I apologise in advance for my ignorance I am trying to insert code that will count number of cells with a fill colour, I found the code below which works once but if you alter the number of cells with fill colour it does not automatically update the count...
  3. A

    Further Help with Colorfunction and Countif

    Hello I was wondering if anyone could help I got the below from a post on here quite a while ago which is brilliant it has helped with our spreadsheet but we are having a couple ofissues which I wondered if anyone could possibly help me resolve. 1. We have quite a large amount of data we...
  4. rbobcat1

    Auto fill date & time

    I came across the below VBA and need some help to modify it. First it auto fills the date and time in I1 whenever you selected from a drop down in H1. I have also added another to it that adds date and time to cell J1 whenever you choose "Closed" in cell E1. This all works great for what I want...
  5. I

    Trying to omit the first row of excel and creating csv of sheet 2 using command button. pls help me with the code.

    Private Sub CommandButton1_Click() Dim xWs As Worksheet Dim xcsvFile As String Dim rCell As Range Dim rRow As Range lFnum As Long Dim rowCount As Long For Each xWs In Application.ActiveWorkbook.Worksheets For Each rRow In ActiveWorkbook.UsedRange.Rows If rowCount > 1 Then For Each rCell In...
  6. MonkeyFace28

    to VBA or Not to VBA - Coloured cell, sum IF

    Hi peeps - Happy New Year! I was wondering - I need to do a lookup / or Match for cells that are coloured in red. I have been advised the below is best - but I'm worried that it will only count the "numbers" in the cell which is coloured in. What I actually want is to return a sum based on...
  7. M

    Looping through several worksheets and certain ranges in those worksheets

    Alright, I am making a to do list that is pretty automated that will add sheets and delete sheets as the days move forward (Dates in the past will be saved to a folder and deleted, current/future dates will remain). This is the bit of code i'm having a lot of trouble with. The main...
  8. muhammad susanto

    Macro Code Not Work

    hello all... i have macro code, but i dont know it works...i have try but still error.. somebody would help me : this code : Private Sub Worksheet_Change(ByVal Target As Range)<code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;"> Dim r As...
  9. M

    Need VBA Code that protects cells with formulas but allows row deletion

    Hello Everyone, First of all, I have to say, this forum has helped me immensely and I am so thankful for all the help offered here! I have not been able to find a solution to this despite the extensive research I have attempted. I have a VBA code that will prevent the user from modifying any...
  10. J

    VBA to replace first four digits of a phone number using regex

    Can anyone help me amend this snippet to instead of adding periods to break up a phone number to replacing the first four digits with an "x"? Thanks, J Sub SymbolsInPhN() Dim rRng As Range, rCell As Range Set rRng = Range("A2", Range("A" & Rows.Count).End(xlUp)) With...
  11. J

    macro

    how do I change the below to not be an event, but run from a macro1? thanks Jan Private Sub Worksheet_Change(ByVal Target As Range) Dim rInt As Range Dim rCell As Range 'change the input cell range as desired Set rInt = Intersect(Target, Range("plus20pct")) If Not rInt Is...
  12. J

    Conducting search through a list help (same search again, but with different variable selected from list)

    Hello, I have a macro that I need to rewrite because the data file changes. The new macro needs to be based on other cues (unlike before is was spacing and offsetting -->Im a rookie). I need to search for three things, then return a value from a different column. Where I am running into...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top