Skip to content

Commit 48cf05f

Browse files
authored
Update GetAbsoluteWorkbookPath.md
1 parent 61187c9 commit 48cf05f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

source-excel/GetAbsoluteWorkbookPath.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
This parses `cell()` output to get the **absolute filepath of the current workbook**
2-
32
This is one way you can have powerquery autodetect absolute filepaths
43
```
54
= Cell( "filename" )
@@ -8,7 +7,10 @@ The raw output
87
```
98
c:\data\excel\[Example Sales Table.xlsx]Sheet2
109
```
11-
formula:
10+
Note: You could drop the worksheet name, then replace `[]` with ``.
11+
I split this into steps to show how you can use intermediate calculations as variables
12+
without polluting the scope using named cells
13+
1214
```sql
1315
= LET(
1416
rawName, CELL("filename"),

0 commit comments

Comments
 (0)