c.offset

  1. D

    Speeding up code

    Hi, I have the written the following code but it is slow to run which is causing the end users issues, is there anyway of speeding it up? Any help would be much appreciated. Sub CheckButtons() AppStart Lr = TransferSht.Range("B" & Rows.Count).End(xlUp).Row y = 96 + Lr For x = 101 To y...
  2. D

    Listbox on Userform and a worksheet Excel VBA

    Arrgh!, Last code for this complex thing. My quandary is using the TextBox (SPR_IDTB) from a userform to populate a ListBox on the userform. If the matching ID (SPR_IDTB) is found, pull the value in the same row from column A and from Column J. End after searching 1 worksheet. TextBox value is...
  3. B

    Consolidate If

    Evening Is there a simpler way to perform this action. and possibly center align the offset value without a new loop. Thanks guys :) Dim r As RangeSet r = Range("Z3", Range("Z" & Rows.Count).End(xlUp)) For Each c In r If c.Value = "AmountPaid" Then c.Offset(, 8) = "Close" If c.Value = "Amount...
  4. W

    Upgrading my status board...

    Back in early May, with the help of Mumps and My Answser is this, I was able to create a status board used by our operating room. Because Conditional Formating was not an option, we used VBA that changed the colors of a group of cells based on a drop down box value. The following code works...
  5. A

    VBA help needed

    Hello All, I am trying to change my VBA codes to make more user friendly by giving the users ability to determine the start and finish of the ranges. The code that is already working is like this: Sub Test() Worksheets("Express").Activate...
  6. A

    VBA to change cell colours and font colours based on values

    Hello All, I tried the following, but it is making all fonts black. What is it that I am doing wrong? For Each c In .Range("A5:A170") If c.Value = "Ex" Then c.Offset(, 1).Interior.Color = 192...

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