I would like to have a button in Excel that when pressed will open pdm (C:\PDMWorks View\CompanyName) and fill in "Artikel Nr:" the value of the Activecell.Value from Excel. (and even perhaps initiate the search)
To do this you will have to handle the search results yourself. There is no way to fill in values in the external search tool or the integrated search tool.
See SPR 1002036 (Need API Support for passing inputs programmatically via the API’s to the Search UI)
It seems my colleague uses search.exe (from the enterprise pdm folder). Is there an argument I can start with the search.exe so it fills in the search box?
No options to fill in the search box, which makes sense since the search box itself can be customized. The search.exe program can't know what variable names you have chosen and such.
Retrieving data ...