rng.value

  1. G

    VBA code not working in a Range

    Hi Guys, I have the following code to add a comment each time a cell value changes, however if I change the Range to "N25" everything works perfectly, but if I want to have the code to cover all rows in column "N" I don't get any comment appear when the value changes. Private Sub...
  2. D

    Offset Row

    Hi, I need to get the below to start from A2 rather than A1. I think i need to Offset the row but for the life of me cannot get this to work. copied the part of the VBA where i believe this needs to be added. If someone could help that would be great et wkb = appExcel.ActiveWorkbook Set...
  3. Johnny C

    VBA - Evaluate throwing error when [] form used

    I've been idling a dull afternoon away tidying up some VBA that works on ranges using the Evaluate function. More out of curiosity than anything else. I'm keen to understand it, I once came across a piece of horrible spaghetti code that used [Sum(Indirect(formula))] and I just gave up at that...
  4. E

    Help speed up my for loop

    Hi Guys, I have a for loop which is as follows. 'Do something with all the data between C27 and c37 For Each rng In Range("C27:C37") 'if there is data in the cell then If Not IsEmpty(rng) Then 'List the DDI and then plus one until all numbers are complete. For x...
  5. N

    Add One to YES or NO

    Hello All, I am trying to write a simple code to look at a value then find that value in a row of values and if another cell says YES then add one to the YES column and if not then add to the no column. The problem keeps giving me an error and I can't figure it out. Attached I have put an...

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