I have following vba code which throws error of object required error 424 please help me on this
any help will be appriciated by word of thanks
Code:
[COLOR=#242729][FONT=Consolas]With Worksheets("OPTIONS").Activate.QueryTables.Add(Connection:= _ mystr, Destination:=ThisWorkbook.Worksheets("OPTIONS").Range("$A$1"))[/FONT][/COLOR]
any help will be appriciated by word of thanks