It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.
The error I get is that the Object doesn't support this property or method.
'set variables to open Excel Dim objXL As Excel.Application Dim objWkb As Excel.Workbook Dim objSht As Excel.Worksheet Dim strFileName As String strFileName = (GetMyPath() & "Interface2.xlsm") Set objXL = New Excel.Application With objXL Set objWkb = .Workbooks.Open(strFileName, , False, , "thisisthepassword") For Each objSht In objWkb.Worksheets objSht.Visible = xlSheetVisible Next objSht objWkb.Run "Upload2Dbase" Set objSht = objWkb.Worksheets("SageDump") .Visible = True AppActivate objXL.Caption objSht.Activate End With 'destroy objects Set objSht = Nothing Set objWkb = Nothing Set objXL = Nothing
Join the community of 500,000 technology professionals and ask your questions.