Can anyone please let me know why my code is not working? I keep receiving Error 424: Object Required. I'm pretty new to VBA and coding so it might be something very simple. This is what I would like my code to do:
This is my code:
Sub Init() Dim oText As TextElement Set oText = ElementEnumerator.Current.AsTextElement Dim content As String content = oText.Text CreateLink contentEnd SubSub CreateLink(ByVal content As String) Dim strURL As String strURL = "http://www.google.com" & "/" & content Debug.Print "My URL=" & strURL CadInputQueue.SendKeyin "ELEMENT CREATE LINK URL " & strURLEnd Sub