How to Import Text (.txt) Files Into Excel - Excel VBA Tutorial - Awesome!!

How to Import Text (.txt) Files Into Excel - Excel VBA Tutorial - Awesome!!

ExcelVbaIsFun

10 лет назад

212,554 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Redtorres16
@Redtorres16 - 25.10.2023 02:31

How to extract text or specific text only from notepad to Excel using VBA

Ответить
@enrikekasijas705
@enrikekasijas705 - 08.06.2022 22:51

Nice. I really like that last part with application.getopenfilename() . Never seen that before but it's powerful ;)

Ответить
@tj9382
@tj9382 - 24.03.2021 22:25

Hi is it possible to loop through a word pad file extracting specific criteria based information and adding it to an excel spreadsheet? Thanks 🙏

Ответить
@realesticetea6241
@realesticetea6241 - 27.01.2021 00:35

Great video, thanks

Ответить
@orlandopalone80
@orlandopalone80 - 12.07.2020 13:11

Very good

Ответить
@ashwanisharma8597
@ashwanisharma8597 - 02.05.2020 07:36

Sir is main coloum wise Nahi as Raha hai

Ответить
@spoortirawat8693
@spoortirawat8693 - 26.01.2020 20:12

Hi, how can I do the same for multiple text files.

Ответить
@simonjoserodriguezbrito423
@simonjoserodriguezbrito423 - 08.11.2019 19:03

I have a question. In listbox the colour blue that select items I want to change for other colour. Can I change it. and If is posible, How I can do it. Help me please.

Ответить
@rakhisaxena4352
@rakhisaxena4352 - 24.09.2019 10:35

Hi Dan thanks for this
I work in garment industry and there are many approvals and discussions so is it possible to embed an email as an attachment in excel automatically?

Ответить
@mrabalone3492
@mrabalone3492 - 27.06.2019 06:02

i love you Sir

Ответить
@lamarbess2281
@lamarbess2281 - 14.11.2018 00:56

Thanks great JOB!!!!!

Ответить
@MarcoTorres4given
@MarcoTorres4given - 29.10.2018 18:21

what if I have more than one text file with different names

Ответить
@ALEXSHUNCAI
@ALEXSHUNCAI - 11.10.2018 05:55

this is just one file on the desktop, what if you want to use VBA to open multiple text files? how to loop them

Ответить
@johnbismarksesay577
@johnbismarksesay577 - 03.06.2018 22:06

Very helpful, the videos contributed to my capacity as a professional. A big thank to the providers

Ответить
@sabirmolla1880
@sabirmolla1880 - 19.03.2018 09:04

চ্্

Ответить
@prakashbh8619
@prakashbh8619 - 10.03.2018 21:58

I am working in Accounts Receivable team were i need to download 21 different bank statement and copy and pest all bank statement in Excel on daily bases
Is there any way to import these statements Directly from Bank Website to Excel Help Me out please

Ответить
@prakashbh8619
@prakashbh8619 - 10.03.2018 21:58

Hi
I am working in Accounts Receivable team were i need to download 21 different bank statement and copy and pest all bank statement in Excel on daily bases
Is there any way to import these statements Directly from Bank Website to Excel Help Me out please

Ответить
@roopashreevenkatesh2350
@roopashreevenkatesh2350 - 06.12.2017 05:09

Thank you so much for this video😊

Ответить
@bagusyudistira3802
@bagusyudistira3802 - 07.06.2017 05:05

God Bless you man, this video save my ass

Ответить
@clayman648
@clayman648 - 28.05.2017 06:35

Is there a way I can get my Music.txt file with all play count and ITunes info into an .xml or ITunes library.ltd
And import all the info from Music.txt so it can be in that order with dates etc?

Ответить
@PrakashPraaku
@PrakashPraaku - 18.04.2017 06:28

Hello sir,

how can we get mail content data into excel file using VBA, the mail content format will be like, Date, Company Name, Total Expenses, Spending Date, Location.
These are the headers, and below this there will be some 20 rows of data,

How to get this into Excel and save in a specific folder with the mail subject line name automatically,

This will be a great help sir,

Regards,
Prakash,
Bangalore, India

Ответить
@allento8139
@allento8139 - 10.04.2017 20:04

Thank you

Ответить
@chaitanyagaddam8407
@chaitanyagaddam8407 - 06.01.2017 21:39

good one Dan:)

Ответить
@Jake-hk2uq
@Jake-hk2uq - 07.12.2016 06:59

lol that says JP Morgan

Ответить
@kennyowz1911
@kennyowz1911 - 20.11.2016 08:13

Is there a way to do this, with PDF files?
I've found a way to get the data I need from manually saving a PDF file as an Excel file, with the help of some Excel formulas after that.
But I'd like to have the PDF-Excel conversion run automatically when I click on a button or something.
OR!
Is there an easier way to get data from a PDF file (only specific data/text/nums) with VBA?

THANK YOU =)

Ответить
@kostasfilippopoulos8737
@kostasfilippopoulos8737 - 19.11.2016 15:38

Hello guys,
I download PPC Auto Report file in txt. document and it I see asterisks *
Does anyone know how can I see the keywords behind these * ?
Is it something I have to convert to on my Excel (where I insert the txt.) or there in the txt. file?
Thanks anyways!

Ответить
@commonthoughts8582
@commonthoughts8582 - 03.10.2016 22:52

I need some help in vba? can someone call me at 913-972-0117 ask for David

Ответить
@bombay24
@bombay24 - 19.09.2016 21:14

Hi Dan. Great video. Is there a way to set up a checksum or something similar to ensure that all data from each .txt file has been imported?

Ответить
@orlandolcd
@orlandolcd - 12.09.2016 18:51

How would you charge to put commas on a colum? Thank you

Ответить
@ksrinivas1729
@ksrinivas1729 - 27.05.2016 20:59

Sir your contents worth millions of Rupees(for us)

Ответить
@idmansabir
@idmansabir - 23.02.2016 03:58

docReader to Excel?

Ответить
@07lacha
@07lacha - 13.01.2016 05:17

hey Dan thanks for sharing! i have a question though, is there anyway to make the macro import the text on a specific sheet in a certain excel file?

Ответить
@PramodYadav027
@PramodYadav027 - 25.11.2015 01:07

Good one Dan :). I was looking for this today and happy to see a detailed video on the same :). Thanks for sharing the knowledge!
Are you still active with this stuff? I see your last videos are around 1 year old. Cheers !

Ответить
@krystlepostle4755
@krystlepostle4755 - 24.11.2015 02:22

how to take a Script Text File ] and turn it into Tweets..please explain how to do this

Ответить
@MAHIPOLITO
@MAHIPOLITO - 21.11.2015 03:20

too much talking

Ответить
@MyVasant
@MyVasant - 03.11.2015 12:58

My .txt data should convert like this in excel? can anyone help me




 
  SCID00 -
  PI1
 
 
  SCID01 -
  P01
 
 
  SCID02 -
  IE5
 


 
  KRW,5
  HUF,0
 
 
  LMV,3
 
 
  KRW,2

Ответить
@jayricks8938
@jayricks8938 - 31.05.2015 15:24

OK quick question possibly stupid but how would you take this macro and keep adding on to it. Like I want to combine multiple text files into 1 excel file just like its done in this video

Ответить
@bpatmurray
@bpatmurray - 14.04.2015 05:07

Thanks Dan, great video.  I have a question, is there a way to create a macro to automatically collate data from a numerous number of other excel documents, without going through and showing it what to do for each one?  I want to automate the automation.  Any suggestions?  Thank you.

Ответить
@scdeanorki5
@scdeanorki5 - 13.03.2015 00:45

Thanks.  That is awesome!  How do you import text into an open workseet?  I tried the ActiveWorkSheet.QueryTables.Add but where my problem lies is that the File path I want to add is a variable which is concatenated with the filePath of the workbook and the text file name (i.e:  myVarPath + "fileName.txt").  I can't seem to get the ActiveWorkSheet.QueryTables.Add constructor to use my variable.  Any ideas?

Ответить
@jeewankoirala7200
@jeewankoirala7200 - 02.03.2015 16:16

how to move the content in html file. like when we open it it appears moving. like that so plz provide me

Ответить
@Myrslokstok
@Myrslokstok - 03.10.2014 14:17

Thank you,
When I try to follow your eminent tutorial it does not work.
The macro does not record all the parts, when I run it again, just paste it into all values ​​straight up and down without separation in different columns. Think formats election efterråt has something with it all to do. If I do it right and then select the text will return the worksheet to a normal Ctr + V paste. 

It is strange that it does not record everything that I do.

Beloow  is the macro code, do not worry about the first few rows:


Sub Makro3()
'
' Makro3 Makro
'
'
    Sheets("ImportAgressoKKKONTO").Select
    Cells.Select
    Selection.ClearContents
    Range("A1").Select
    ActiveSheet.PasteSpecial Format:="Unicode-text", Link:=False, _
        DisplayAsIcon:=False
End Sub

Thanks again!

Ответить
@lhow3100
@lhow3100 - 09.07.2014 05:51

As a project I've taken on, I am trying to figure out how to import data from a Word Document form into Excel. Unfortunately, because there is a lot more text in the word document besides the information that I need, it is very difficult to extract what I need to. For example, the form says, "Full Name" and then there is a spot for the individual to put their name. It then says, "Preferred Name" and then there is a spot for the individual to put their preferred name. I only want the data entered by the individual to be imported. How can I do that?

Your videos have been a great help! Thanks

Ответить
@kiranpavuluri5416
@kiranpavuluri5416 - 05.07.2014 21:28

Great job Dan, Thanks for videos

Ответить
@tnyoga
@tnyoga - 27.04.2014 16:58

Hello Dan..Thanks a lot for this video...
I would like to learn more about the VBA programs you have explained in this video. But i could not able to see the text clearly after run around 7 mins. could you please help on this, so that i can go through full video with clear text. please help me understand your information. Thanks in advance for your help!

Ответить
@ExcelVbaIsFun
@ExcelVbaIsFun - 26.12.2013 09:56

Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

Ответить
@sujatha.arunachalam
@sujatha.arunachalam - 12.12.2013 23:07

It was very informative video.I am a beginner and want to learn VBA-Excel , so please provide other tutorial video. Thanks

Ответить
@ExcelVbaIsFun
@ExcelVbaIsFun - 16.09.2013 09:06

uploading a video on how to open a link in Firefox, Chrome or internet explorer. Hope this helps you, you were my inspiration for this vid. Thanks!

Ответить
@Myrslokstok
@Myrslokstok - 02.09.2013 18:22

You are a excel genius. How would you crate a hyperlink that opens in a nother webbrowser like Firefox, when Explorer do not work and is not certified to use??? Thanks Michael!

Ответить