Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
Function WorkbookConnectedToCode(UseApp As Excel.Application) As Workbook Set WorkbookConnectedToCode = UseApp.Workbooks(GetFullFileName(UseApp.VBE.ActiveVBProject.Filename)) End Function Function GetFullFileName(strFullPath As String) As String Dim iLastSlash As Integer iLastSlash = InStrRev(strFullPath, "\") GetFullFileName = Mid(strFullPath, iLastSlash + 1) End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.