Alka Bajaj
New Member
- Joined
- Apr 5, 2011
- Messages
- 44
Hello Expert,
There are number of report exported daily from SAP application. All these are stored in a folder.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I need to merge all this reports into one . But before I do, I have to perform following steps<o></o>
<o> </o><o> </o>
Steps Performed:<o></o>
<o> </o>
1. Open the file ( Since the files are exported, every time I receive a warning message “Excel export: The file you are trying to open, '[filename]', is in a different format than specified by the file extension…. Do you want to open the file now”). <o></o>
2. Click “Yes’<o></o>
3. Delete first 4 blank rows<o></o>
4. Delete 6<SUP>th</SUP> blank row<o></o>
5. Delete first 5 blank columns<o></o>
6. Save the file as excel<o></o>
7. Loop through all the files in a folder<o></o>
<o> </o>
Appreciate if you can guide me to automate above steps using macro. If I can automate above, for all the files in a folder.
<o></o>
<o>I am not able to attach the sample file. Let me know if it is required to be mailed.</o>
<o></o>
Awaiting your support and help.<o></o>
<o> </o>
Many thanks!<o></o>
<o> </o>
Regards,<o></o>
Alka <o></o>
There are number of report exported daily from SAP application. All these are stored in a folder.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I need to merge all this reports into one . But before I do, I have to perform following steps<o></o>
<o> </o><o> </o>
Steps Performed:<o></o>
<o> </o>
1. Open the file ( Since the files are exported, every time I receive a warning message “Excel export: The file you are trying to open, '[filename]', is in a different format than specified by the file extension…. Do you want to open the file now”). <o></o>
2. Click “Yes’<o></o>
3. Delete first 4 blank rows<o></o>
4. Delete 6<SUP>th</SUP> blank row<o></o>
5. Delete first 5 blank columns<o></o>
6. Save the file as excel<o></o>
7. Loop through all the files in a folder<o></o>
<o> </o>
Appreciate if you can guide me to automate above steps using macro. If I can automate above, for all the files in a folder.
<o></o>
<o>I am not able to attach the sample file. Let me know if it is required to be mailed.</o>
<o></o>
Awaiting your support and help.<o></o>
<o> </o>
Many thanks!<o></o>
<o> </o>
Regards,<o></o>
Alka <o></o>