Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need the macro below to look first at Range BI6:BI137 and find blank cells,
then look at Range Y6:Y137 for the code information. Is that possible? Sub Sonic() With Worksheets("Oct 8 - 2054543") For Each c In Range("y6:y137") If c.Value = "A" Then c.Offset(0, 36).Value = "No medical necessity for IP status; should have been OP" End If If c.Value = "B" Then c.Offset(0, 36).Value = "Admitted with presumed acute need; Documentation and findings did not support IP status. Should have been OP Observation" End If If c.Value = "C" Then c.Offset(0, 36).Value = "No IP acuity documented; no complication post procedure or acute intervention; should have been OP Surgery." End If If c.Value = "D" Then c.Offset(0, 36).Value = "Patient does not meet IP guidelines; should be OP observation" End If End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Modified:- Macro to Generate a new Column!!! | Excel Worksheet Functions | |||
Modified:- Macro to Generate a new Column!!! | Excel Worksheet Functions | |||
Modified worksheet macro, where if Yes portion works but not else | Excel Programming | |||
Date last modified macro | Excel Programming | |||
How to record macro to print pages modified today | Excel Worksheet Functions |