ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   importing data using a macro (https://www.excelbanter.com/excel-discussion-misc-queries/35871-importing-data-using-macro.html)

chris_rip

importing data using a macro
 
I'm trying to import ten sets of data in Excel. I click on import external
data and then choose a file and press next. I add a space to separate the
data into two columns and then press finish. I was wondering if it would be
possible to use a macro to import the data. Possibly import the first one
and then have the macro import the next 9 in succession. The files I import
are always in succession, but always have slightly different names. For
example, the data I collect today will be saved as 718cr1, 718cr2, 718cr3,
etc. The last number represents the trial number and the first number
represents today's date. Does anyone have any ideas? Thanks in advance!


All times are GMT +1. The time now is 04:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com