How to Rename a Code in VB.Net Which Will Replace All Instances of That Code There are 2 ways:- Quick Replace Rename (this is faster and preferred for future VB.Net coding work) “Rename” will automatically rename all instances. Before:- After:- By using:-