daily pastebin goal
8%
SHARE
TWEET

JustJoking

vityata Mar 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Sub TestMe()
  2.    
  3.     Dim ws As Worksheet
  4.     Set ws = Worksheets(2)
  5.    
  6.     Dim k As Range
  7.    
  8.     Set k = Range(ws.Cells(1, 1), ws.Cells(2, 2))
  9.     Debug.Print k.Parent.Name
  10.    
  11. End Sub
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top