Good Morning
how would I go about reading a text file and scan for values? If found return the header line.
the text file has a header on line line (Test1)
the second line has all the IP values
between each group is a blank line
the text file looks like this? (test.txt)
Text file on C drive (Windows)
Test1
192.168.0.1,192.168.1.1,200.0.0.0
Test2
10.10.10.1,10.10.10.2
Sheet before containing the values to scan(lookup) in the text file above
Sheet after lookup showing "Header Line where Found"
Thanks
how would I go about reading a text file and scan for values? If found return the header line.
the text file has a header on line line (Test1)
the second line has all the IP values
between each group is a blank line
the text file looks like this? (test.txt)
Text file on C drive (Windows)
Test1
192.168.0.1,192.168.1.1,200.0.0.0
Test2
10.10.10.1,10.10.10.2
Sheet before containing the values to scan(lookup) in the text file above
lookup value |
192.168.1.1 |
192.1.1.5 |
Sheet after lookup showing "Header Line where Found"
lookup value | Header Line where Found |
192.168.1.1 | Test1 |
192.1.1.5 |
Thanks