Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Function xyz()
  2. Dim Category as Variant
  3. Set Category = Sheets("Reports").Range("A4:A8")
  4. End Function
  5.  
  6. MsgBox Category(0) =Category
  7. MsgBox Category(1) =Global
  8. MsgBox Category(2) =KAM
  9. MsgBox Category(3) =Salesman
  10. MsgBox Category(4) =External
  11. MsgBox Category(5) =Admin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement