Hi,
I am working with Excel 365 both locally as well as online (via Sharepoint). I am creating macro-enabled workbooks, and everything works on my local machine, but trying to get sheet names fails on the online version of excel, and I don't understand why.
I have tried two different ways to get Sheet Names:
One: using the formula =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
Two: using a dynamic named range composed using =REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),""), and then grabbing the sheet name using the INDEX() function on this named range.
Both work locally, both fail online.
I presume there is some issue with the online version of excel recognising the GET.WORKBOOK call, but I'm not sure what is breaking in the first option.
Any solution/workaround to this that will allow me to get sheet names on the online version of excel would be much appreciated.
Thanks
Bookmarks