Hello, I was wondering if someone could help me point in the right direction for using VBA to take data out of notepad file and paste the data into as excel file.
I also need to extract information from the title of each of the text files and put that into the excel file.
The name of each notepad file is set up as ‘USER NAME_DATE’
I need the date to go into the first column and then the user name in the second in the excel spreadsheet.
Then the data from within the note pad which is currently set out like this:
26,3,30,0,0,0,0,0,0,0,0,0,0,0,0,0,CTA / NA, comments.
Each number needs to go into a certain colour e.g first number out of the text file needs to go into first blank row in A.
I have only just started using VBA and this is way above my current abilities. I can open notepad and copy data directly out it, but extracting information out of the file name and making the data go into certain columns I have no idea how to do. Also to make it run through all the text files in the folder before finishing.
Any help at all would be greatly appreciated.
Thank you
I also need to extract information from the title of each of the text files and put that into the excel file.
The name of each notepad file is set up as ‘USER NAME_DATE’
I need the date to go into the first column and then the user name in the second in the excel spreadsheet.
Then the data from within the note pad which is currently set out like this:
26,3,30,0,0,0,0,0,0,0,0,0,0,0,0,0,CTA / NA, comments.
Each number needs to go into a certain colour e.g first number out of the text file needs to go into first blank row in A.
I have only just started using VBA and this is way above my current abilities. I can open notepad and copy data directly out it, but extracting information out of the file name and making the data go into certain columns I have no idea how to do. Also to make it run through all the text files in the folder before finishing.
Any help at all would be greatly appreciated.
Thank you