Forum Discussion

DanMcG's avatar
DanMcG
Brass Contributor
Aug 03, 2022
Solved

how to use FindControl to execute the VBE Find... command

i am trying to find the ID for the VB Editors Find... command. when i use this string, i get the Find command from excel (for searching cells). i want to execute the other Find (from VBA). how can i ...
  • DanMcG's avatar
    Aug 03, 2022
    Application.VBE.CommandBars.FindControl(id:=141).Execute is the solution. had it in another forum, just found it.

Resources