Guus2005
AWF VIP
- Local time
- Today, 07:23
- Joined
- Jun 26, 2007
- Messages
- 2,642
This is probably asking to much but here goes nothing:
I am looking for a way to select a piece of code in the IDE (VBA window) and then run my own function on it to modify the code in the selection.
example:
Run some function which results in:
Can you think of a way without writing an add-in?
Thx!
a link to the basX module containing the sort function i wrote earlier
I am looking for a way to select a piece of code in the IDE (VBA window) and then run my own function on it to modify the code in the selection.
example:
Code:
'From:
Dim intLongest As Integer
Dim vItem As Variant
Dim intItem As Integer
Dim strRetVal As String
Code:
' To:
Dim vItem As Variant
Dim intItem As Integer
Dim strRetVal As String
Dim intLongest As Integer
Can you think of a way without writing an add-in?
Thx!
a link to the basX module containing the sort function i wrote earlier