Scanned items turn green in Excel



Scanned items turn green in Excel. Barcode scanned items will turn green. Check out my online courses www.easyexcelanswers.com/courses.html
All my courses include online support and a user manual
Let me teach you the VBA that I have learn in my five years of consulting

Let’s take the frustration out of user forms

Become an Affiliate and earn 25% on Course Sales

For more help visit my website www.easyexcelanswers.com or email me at easyexcelanswers@gmail.com.

Contact me regarding customizing this template for your needs.

Click for online Excel Consulting

I am able to provide online help on your computer at a reasonable rate.

I use a Blue condenser Microphone to record my videos, here is the link

Check out Crowdcast for creating your webinars

If you need to buy Office 2019 follow

I use Tube Buddy to help promote my videos
Check them out

Follow me on Facebook

TWEET THIS VIDEO

Follow me on twitter
easyexcelanswers

IG @barbhendersonconsulting

You can help and generate a translation to you own language

*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I’ve used or have experience with.

code for the worksheet
Private Sub Worksheet_Change(ByVal Target As Range)

If Not Intersect(Target, Me.Range(“b2”)) Is Nothing Then

Call green
Application.EnableEvents = True
End If
End Sub

Code for the module
Sub green()
Dim barcode As String
Dim rng As Range
Dim rownumber As Long
If Sheet1.Cells(2, 2) (does not equal) “” Then
barcode = Sheet1.Cells(2, 2)

Set rng = Sheet1.Columns(“a:a”).Find(What:=barcode, _
LookIn:=xlFormulas, LookAt:=xlWhole, searchorder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False, SearchFormat:=False)

If rng Is Nothing Then

MsgBox “Not Found”
Exit Sub
Else
rownumber = rng.Row
Sheet1.Cells(rownumber, 1).Select
ActiveCell.Interior.ColorIndex = 4
Sheet1.Cells(2, 2) = “”

End If
Sheet1.Cells(2, 2).Select

End If
End Sub

Watch more new videos about Excel Office | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
2 Comments
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận
Barb Henderson

I am not able to place "<>" in the description of the video therefore the <> in the code is replaced by the words not equal to

arykl Anees

gd video