offset code

  1. J

    Worksheet change offset BUT ignore if offset value exists

    I have a worksheet change macro that both updates an offset cell value with a date & a selection of cells with corresponding offset dates, however I am trying to update it so that it only inputs date if the offset cell is blank. Here is the code that works: Private Sub Worksheet_Change(ByVal...
  2. P

    Optimizing and correcting code

    Would appreciate very much if anyone could help with this code. It does not work at all. Also, it needs to work in newly created monthly worksheets - should it be in a module? Private Sub Worksheet_Change(ByVal Target As Range) Dim myRange1 As Range Dim myRange2 As Range 'MOVE ACTIVE CELL...
  3. T

    Offset not working in VB

    Hello Everyone, I have a column with a drop-down list of staff to select for a particular task (starts in H3) I have the following code programmed so that after the Employees have been assigned, management can run the macro to change the employees initials from the drop-down list, into an...
  4. M

    vba to insert a new cell into a range based on user input

    Hello, I'm new to VB and was looking for some help, any input would be greatly appreciated... the cells A1 to H1 contain a bunch of values: 1 11 59 35 33 46 12 18 I need a code that allow the user to add a number to that list and also specify where it goes.. B3= what number to add B4=...
  5. N

    VBA - Loop & Offset Code Help - PLEASE!

    Good Afternoon, Thanks in advance for any assistance that can be offered, now on to the dilemma. Background: I am trying to create a dynamic repeatable formatting process. I have an ever changing list of metrics that are either populated with a value or not. Each metric with a value has a...
  6. D

    Loop and Select Case Problem

    I have a worsheet labeled "test". In column A1 through A100 I have codes such as A1=00100, A2=0230, etc. I am looking to use the select case method and a loop to find the various corresponding descriptions that go with the code. So A1 = original code as entered and B1 = description found using...
  7. M

    Help with offset for pasting formulas

    I have a formula in one cell, and I need to write the code so that it copies and pastes this formula into the 8 cells beneath it without specifying the actual cells. I'm assuming some sort of offset code would work but I don't know where to begin or find this. Thanks!

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