View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
merjet merjet is offline
external usenet poster
 
Posts: 812
Default Nothing happens with range("B2").Goalseek _...

Change from a Function to a Sub and it should work as desired.

Public seekgoal()
.......
End Sub

Hth,
Merjet