Finish VBA with selecting a specific Cell

Livin404

Well-known Member
Joined
Jan 7, 2019
Messages
743
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Greetings, I've completed this project after 38 macros. It all works fine. There is just one cosmetic thing I would like to sort out. When I'm finished "Run All", there is a huge part of my worksheet that is greyed out (it looks like it has been selected). I would like the cell containing "UPDATED BY:" selected. This way I don't have to randomly click anywhere just to clear out the grey area of my worksheet. I figured I can put in just a brief line into the last macro- please see below. Thank you,

VBA Code:
Sub ACV_LOCAL()
    Dim i As Long
    For i = 1 To ActiveSheet.Cells(Rows.Count, 2).End(xlUp).Row
    Select Case ActiveSheet.Cells(i, 1).Value
    Case "ACV(EUREKA/ARCATA, CA)"
ActiveSheet.Range("F" & i) = "EXPECT TO STEP/LOCAL/DON'T POST"
ActiveSheet.Range("E" & i) = "N/A"
End Select
Next i
End Sub
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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