Wish Search and replace in the private sub

cxbs

Active Member
Licensed User
Longtime User
The following example only wants to find variable a in sum1 function

priavte sub sum1
dim a as string
a="1+2"
...
end sub

priavte sub sum2
dim a as string
a="like"
...
end sub
 

LucaMs

Expert
Licensed User
Longtime User
Collapse the code (CTRL + SHIFT + o), select just one line, the sum1 declaration, press CTRL + H:

1624688506720.png
 
Top