@markosc you cannot insert a module in excel through UiPath
You can use VB code directly to perform any actions within the excel without creating any modules. Bot will read the code logic from text file
Other option is use macros where you can insert module and run the code . To run the macros UiPath has an activity called Execute macro. Use below link for more details
Do you know how do I create new function throug invoke vba? Like this one:
Function GetURL(pWorkRng As Range) As String
GetURL = pWorkRng.Hyperlinks(1).Address
End Function
I need to extract URL from cells that are like this with no url but when I hover over the text it shows url: