By using listi.net you agree to our
cookie policy
, We and our partners operate globally and use cookies, for multiple purposes
Close
listi.net
As Worksheet
The As Worksheet is used to define a variable or parameter as a Worksheet.
Sub test_worksheet()
Dim sh As Worksheet
For each sh in Workbook
debug.Print sh.Name
set last_worksheet = sh
Next
End Sub
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus