mycell.offset

  1. S

    Trouble Adding in 3rd Variable for IF Statement VLOOKUP

    Trying to figure out why my VLOOKUP won't work in my IF statement, highlighted in RED Set mycell = myworksheet.Range("AK" & i) 'Contains Unit of Measure Set mycell2 = myworksheet.Range("AD" & i) 'Contains UN/ID# Set mycell3 = myworksheet.Range("B" & i) 'Contains static part # If...
  2. S

    "AND" parameter for CASE STATEMENT??? WHEN, AND, THEN

    Sub Request2() 'THIS SUB: finds NONHAZ, UN2911, or UN3316 and if found populates No Action, No Error, or Compliant in columns AX:AZ ActiveWorkbook.Sheets("HazShipper").Select Application.ScreenUpdating = False Application.DisplayAlerts = False Dim mycell As Range Dim mycell2 As Range Dim...
  3. S

    Running MACROS in one WORKBOOK, COPY RESULTS to Another

    I'm at the end of my long process of VBA learning/Macro building. I am organizing the way my Macros work and in attempt at changing the look, layout and operation I've decided it would be best to have all my Macros stay in a locked workbook, but all my results return on a brand new workbook. I...
  4. S

    If, elseif, else.... Next without for error

    Someone please, for the love of God, tell me what my code is missing so I can move on. I keep getting the "NEXT WITHOUT FOR error, and it won't run my macro. I know this has to be a simple fix, but I've been up since 5am... my brain is too fried to look up anymore answers. Thanks Excel Giants...
  5. S

    VBA: Accounting for Non-Numeric #s, How if not ISNUMERIC?

    I am trying to account for non-numeric values at the end of my string. I input MSP just to test if the code would work with my data set. THE PROBLEM: "MSP" can be any combination of letters and I need to account for all variations. The part of the code in PURPLE has no effect on the data...

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