Forum Discussion
GeekAlfPro
3 years agoHelper V
How to convert query in a parameter
Hello,
i'd like to give users the choice of the folder and files in excel
Then in the queries convert a cell in parameter.
i didn't find a way to do that.
in addition, the option "convert into parameter" is greyed out
How can i do that ?
i mention that i will use the file as a template and from there create a function for the entire folder.
Thanks
2 Replies
- slorinSuper User
Bonjour
Par exemple, ce code permet de récupérer le contenu du dossier qui est référencé dans la cellule nommée "Dossier" du classeur Excel.
= Folder.Files(Excel.CurrentWorkbook(){[Name="Dossier"]}[Content]{0}[Column1])il s'agit bien d'une seule cellule nommée, pas d'un tableau.
mais possible bien évidemment avec un tableau.
Stéphane
- GeekAlfProHelper V
Merci Stéphane,
Je regarderai ça à mon retour de congés.