Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Sub arr1()
  2.  
  3. Dim i As Integer
  4. Dim arr() As Variant
  5.  
  6. For i = 1 To 1000
  7. ReDim Preserve arr(i)
  8. arr(i) = "35SLFR0006350PBZ5"
  9. Next i
  10.  
  11. ' Below is where I get stuck. I need it to find PBZ5 and replace with a blank.
  12. 'If arr contains PBZ5' Then 'replace it with "" '
  13.  
  14. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement