objXL.ActiveSheet.Buttons.Add(303.75, 16.5, 60, 20).Select objXL.ActiveSheet.Shapes("Button 1").Select objXL.Selection.Characters.Text = "Search" objXL.ActiveSheet.Shapes("Button 1").Select objXL.Selection.OnAction = ????? ' has to be a macro in the sheet and as the sheet 'is generated by the script, can't see how I can use this method objXL.Range("A1").Select
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)