View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
S. S. S. S. is offline
external usenet poster
 
Posts: 12
Default Unknown Error Message

I am running the following code:

ActiveSheet.Buttons.Add(481.5, 15, 87.75, 47.25).Select
Selection.OnAction = "ThisWorkbook.CommandButton1_Click"
Selection.Characters.Text = "Sort and Print"

Whenever the action gets to this part of the code it
creates an error message that says "400". Does anyone
know what this means?

Thanks

SS