Hi Peter-4215,
What is your program? And how do you automate it?
what is "runnerForm"and “runnerFormDictionary” in your code?
According to my understanding, you can call the DataGridView.CellContentClick event in your automated method.
And you can also put the logic in CellContentClick event to a method and call this method automatically.
Reza Aghaei has provided a similar code example in this thread and you can refer to it.
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.