I have a bunch of files (number continuously growing), each file shoud get a seperate data frame.
To simplify the reading I would like to use a Loop to read all files. The new data frames should be named after a string from "Filename"
In the last row i would like to create an data Frame, the Name of the new data frame should be the Content of "Filename".
for(x in 1:nrow(Namen)) # creation of the loop
{
Filename<- Namen[x,1] #Takes the Filename from the the DF
einlesepfad <- "path for reading the xlsm files"
einlesepfad <- paste(einlesepfad,Filename,".xlsm", sep="") # creation of the path to read the xlsm file
Filename <- read_excel(einlesepfad) #The Content of "Filename" should be the Name of the new data frame
}