frabulator
Active Member
- Joined
- Jun 27, 2014
- Messages
- 256
- Office Version
- 2019
- Platform
- Windows
Hello all,
Long story short, I have been looking for weeks on how to copy a range of cell's values from a folder full of closed workbooks into the active workbook, and then have it paste the values from each in order starting at "A2" on the active. Sadly, I have pulled up short on everything that I have tried.
First, I am running Office 2010. I will need to pull values "A2:V15" from every .xlsm located in
"C:\Users\" & Environ$("Username") & "\" & _
"Dropbox (Rubicon Geological)\.dropbox.system.files\SysWOW64\0409"
The documents can not be opened because as soon as you open one a userform is set to open automatically. If you close the userform without a password then it closes all excel documents. To close the userform and get to the values you have to type in a password, which is what I want to bypass. If I have to type in the password every time I might as well copy and paste the cell values I need from the book by hand. (Please note, these excel documents are not password protected, it is just the userform)
This is for a timesheet that we have at my work, and we have been opening up every employee time sheet and copying the data by hand every week for over a year.
What I need is a macro or module to copy data from all .xlsm in range of "A2:V15" from
"C:\Users\" & Environ$("Username") & "\" & _
"Dropbox (Rubicon Geological)\.dropbox.system.files\SysWOW64\0409"
into the active workbook starting at value "A2" and then add the next workbook in the next empty cell down from the previous. All of which needs to be done with out opening the source workbooks.
Is this even possible?
Long story short, I have been looking for weeks on how to copy a range of cell's values from a folder full of closed workbooks into the active workbook, and then have it paste the values from each in order starting at "A2" on the active. Sadly, I have pulled up short on everything that I have tried.
First, I am running Office 2010. I will need to pull values "A2:V15" from every .xlsm located in
"C:\Users\" & Environ$("Username") & "\" & _
"Dropbox (Rubicon Geological)\.dropbox.system.files\SysWOW64\0409"
The documents can not be opened because as soon as you open one a userform is set to open automatically. If you close the userform without a password then it closes all excel documents. To close the userform and get to the values you have to type in a password, which is what I want to bypass. If I have to type in the password every time I might as well copy and paste the cell values I need from the book by hand. (Please note, these excel documents are not password protected, it is just the userform)
This is for a timesheet that we have at my work, and we have been opening up every employee time sheet and copying the data by hand every week for over a year.
What I need is a macro or module to copy data from all .xlsm in range of "A2:V15" from
"C:\Users\" & Environ$("Username") & "\" & _
"Dropbox (Rubicon Geological)\.dropbox.system.files\SysWOW64\0409"
into the active workbook starting at value "A2" and then add the next workbook in the next empty cell down from the previous. All of which needs to be done with out opening the source workbooks.
Is this even possible?