NoxGalleon106
New Member
- Joined
- Oct 15, 2016
- Messages
- 29
Hi,
Can someone help me on the coding of the below condition? basically, ActiveCell.Offset(0, 25).Value should be equal to "Asia" if the activecell in column F contains the below list and ActiveCell.Offset(0, 25) is blank.
list: (note that the text can have XXX at the end of the word, so it is more like a contains condition)
HK
SG
CN
AU
JP
If ActiveCell.Value =list And ActiveCell.Offset(0, 25).Value = "" Then
ActiveCell.Offset(0, 25).Value = "Asia"
Can someone help me on the coding of the below condition? basically, ActiveCell.Offset(0, 25).Value should be equal to "Asia" if the activecell in column F contains the below list and ActiveCell.Offset(0, 25) is blank.
list: (note that the text can have XXX at the end of the word, so it is more like a contains condition)
HK
SG
CN
AU
JP
If ActiveCell.Value =list And ActiveCell.Offset(0, 25).Value = "" Then
ActiveCell.Offset(0, 25).Value = "Asia"