{"text_format":"1","workbook":"xlsx","n_sheets":3,"sheets":["Formula","vba 1","vba 2"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Formula","index":0,"n_rows":14,"n_cols":3,"rows_kept":14,"cut":false,"hidden":false,"merged":[[1,1,1,2],[8,1,8,2]]}
[]
[null,"Get the Sheet Name in Excel Using Formula "]
[]
[null,"Formula","Output"]
[null,"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,31)",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,31)","v":"Formula"}]
[null,"CELL(\"filename\",A1)",{"$f":"CELL(\"filename\",A1)","v":"D:\\[excel sheet name.xlsm]Formula"}]
[null,"FIND(\"]\",CELL(\"filename\",A1))+1",{"$f":"FIND(\"]\",CELL(\"filename\",A1))+1","v":27}]
[]
[null,"Alternative Formula"]
[null,"RIGHT(CELL(\"filename\",A1),LEN(CELL(\"filename\",A1))-FIND(\"]\",CELL(\"filename\",A1)))",{"$f":"RIGHT(CELL(\"filename\",A1),LEN(CELL(\"filename\",A1))-FIND(\"]\",CELL(\"filename\",A1)))","v":"Formula"}]
[null,"CELL(\"filename\",A1)",{"$f":"CELL(\"filename\",A1)","v":"D:\\[excel sheet name.xlsm]Formula"}]
[null,"LEN(CELL(\"filename\",A1))-FIND(\"]\",CELL(\"filename\",A1))",{"$f":"LEN(CELL(\"filename\",A1))-FIND(\"]\",CELL(\"filename\",A1))","v":7}]
[null,"LEN(CELL(\"filename\",A1))",{"$f":"LEN(CELL(\"filename\",A1))","v":33}]
[null,"FIND(\"]\",CELL(\"filename\",A1))",{"$f":"FIND(\"]\",CELL(\"filename\",A1))","v":26}]

{"sheet":"vba 1","index":1,"n_rows":6,"n_cols":3,"rows_kept":6,"cut":false,"hidden":false,"merged":[[1,1,1,2]]}
[]
[null,"Get the Sheet Name in Excel Using VBA Code"]
[]
[null,"Code","Output"]
[null,"Range(\"C5\") = Sheets(1).Name","Formula"]
[null,"Range(\"C6\") = Sheets(Sheets.Count).Name","vba 2"]

{"sheet":"vba 2","index":2,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":false,"merged":[]}