[HELP] How to extract specific text from from .txt file to excel vba

Holiday_Drew

New Member
Joined
Sep 14, 2017
Messages
29
Hi Sir,
Question if I want to get the information on the text file please see red color that is the information I need to get what will be the code I will use button also I just want All .txt files in the "C:\Users\Andrew Sangalang\Downloads\Logs" folder are to be processed I have many text file in one folder i need to get all five minutes: result and extract to worksheet


BALAGTASBCISR2#!
BALAGTASBCISR2#show proc cpu sorted | e 0.0
CPU utilization for five seconds: 0%/0%; one minute: 1%; five minutes: 1%

Please help me thanks a lot!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi Sir,
Question if I want to get the information on the text file please see red color that is the information I need to get what will be the code I will use button also I just want All .txt files in the "C:\Users\Andrew Sangalang\Downloads\Logs" folder are to be processed I have many text file in one folder i need to get all five minutes: result and extract to worksheet


BALAGTASBCISR2#!
BALAGTASBCISR2#show proc cpu sorted | e 0.0
CPU utilization for five seconds: 0%/0%; one minute: 1%; five minutes: 1%

Please help me thanks a lot!

Hi Guys,

Please help me regarding this I'm a newbie only using excel vba.

Thanks a lot!
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top