View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Bob Bridges[_2_] Bob Bridges[_2_] is offline
external usenet poster
 
Posts: 257
Default Possible scoping problem

Ok, two questions. No, maybe three:

1) Why? What benefit do I get from this that I don't have already?
2) How can I declare something twice as two different types?
3) Does this have anything to do with my problem? Because if you're solving
my problem I want to know how, and if you're just sidetracking on good
programming practices then my first question stands but I'll keep looking for
the solution to my problem.

--- "Barb Reinhardt" wrote:
I'd add

Dim WSO as excel.worksheet 'For early binding
Dim WSO as object 'For late binding