rangeactivecell.offset0

  1. H

    Replace all numbers with zero, except formulas

    I have a specified range selected. Range(ActiveCell.Offset(0, -9), ActiveCell.Offset(0, -3)).EntireColumn.Select Now, I have to replace all numbers with zero in the above range, except formulas. Can anyone help me?
  2. Belair58

    Loop through all WorkSheets is not working, code review please.

    Hello, I have a workbook with multiple sheets and I'd like to run this macro on all sheets. The code below will run on the first worksheet, but not on all. If anyone can see why it's not looping through all the sheets I'd appreciate it. <Code> Sub Add_On_Time_Or_Not_To_Each_Sheet() Dim ws As...
  3. C

    Frustrating Range selection

    Hi all I have an extract from a something i'm working on here is the code extract Set f1 = Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 2)) Set f2 = Range(ActiveCell.Offset(0, 3), ActiveCell.Offset(0, 4)) Set f3 = Range("ActiveCell.Offset(0, 3), ActiveCell.Offset(0, 5)") All i want to...
  4. D

    Trying to store a range in variable, to use in email

    Sub approvePurchase(control As IRibbonControl) Dim rng As Range Set rng = Nothing If (ActiveSheet.Name) = "Purchase List" Then If Not Application.Intersect(ActiveCell, Range("I2:I600")) Is Nothing Then If ActiveCell.Value = "Pending" Then ActiveCell.Value = "Approved"...
  5. N

    VBA Syntax

    Range("E2, G2").Select (This is what I want to do, but without specific cell addresses) Range (ActiveCell), Range(ActiveCell).Offset(0, 3).Select What syntax can I use to do this? (hope this makes sense!)

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