View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim[_34_] Jim[_34_] is offline
external usenet poster
 
Posts: 17
Default Excel 95 VBA to 2003 VBA

I have an old application written in Excel 95 VBA and have had to change
the old Toolbar property over to CommandBars, but I am finding that
runtime error 5 for invalid procedure is been invoked the xlTop line.
I can't find a way around this one.
Many thanks
Jim

With CommandBars(1)
.Position = xlTop
.Left = 0
End With