Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
380 views
in Technique[技术] by (71.8m points)

excel - if active cell contains text

I am looking for a VBA code to filter the cells that contain 'FAG'

Example: ACIDE ACETYLSALICYLIQUE 1KG FAG

So I want to select all the cells with FAG in it. Found something but it doesnt work.:

ActiveCell.Value(0, 1).like = "FAG" I get error 9, subscript i out of reach


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...