Thread
:
Variable refers to a workbook
View Single Post
#
1
Posted to microsoft.public.excel.programming
BlairH
external usenet poster
Posts: 10
Variable refers to a workbook
Excellent. Thanks!
"Jackpot" wrote:
Use the Set statement which assigns an object reference to a variable or
property.
Dim mywkbk as workbook
Set mywkbk = Activeworkbook
Msgbox myWkbk.Name
Msgbox myWkbk.Sheets.Count
Reply With Quote
BlairH
View Public Profile
Find all posts by BlairH