![]() |
Importing multiple files
I borrowed a majority of this code from this NG and modified (read destroyed) it for my needs, now I can't figure what I did wrong. The macro should import a text file starting in A1, get the last row +1 (counting in column B) and repeat untill all files in the folder are processed. The only cloumns that should have data are A thru H, row count will vary. Initially it appears to work, then the macro starts moving data to other columns, like taking A1 thru A867 (A thru H) and moving it to I thru P and so on and adding blank rows from the top down? Code:
Sub aaa() -- Regards XP Pro Office 2003 |
Importing multiple files
I think I put myself in an endless loop with *Do While FName < ""* -- Regards XP Pro Office 2003 "Rick S." wrote: I borrowed a majority of this code from this NG and modified (read destroyed) it for my needs, now I can't figure what I did wrong. The macro should import a text file starting in A1, get the last row +1 (counting in column B) and repeat untill all files in the folder are processed. The only cloumns that should have data are A thru H, row count will vary. Initially it appears to work, then the macro starts moving data to other columns, like taking A1 thru A867 (A thru H) and moving it to I thru P and so on and adding blank rows from the top down? Code:
Sub aaa() Please help, I only have six or seven brain cells left! -- Regards XP Pro Office 2003 |
All times are GMT +1. The time now is 09:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com