thanks. great help
but i would make it little complicated i have folder for each month every day is in a separate folder within every month folder and there is one sheet in every day folder (around 30 folders and 30 sheets)
so how can i get these 30 sheets IDs with a script?
another option is to export the value of a cell to a common mastersheet file . and this code is in every day sheet.. –