I am importing data files into an Excel spreadsheet and doing some things to certain data after it's imported. In all the files I import, in row 7 of the column right before the column of data I am working with, there is always the word "TRIG." I have code to find the "TRIG" column so that I know where my data is.
What I'm doing with the data: the info in row 7 of the data column has a lot of headings in it. my first round of code copies this cell to B1 on Sheet2 and separates each headings into its own column. the data in the rest of the column is hexadecimal data. I copy it over to column B on Sheet2, starting in B2, convert the hexadecimal data to binary data, and then split each binary number into its own column. Please ignore the info in column A, with the exception that every column on Sheet2 should have the same number of rows. I am getting this to work for 3 out of 4 files that I am importing, and I can't figure out what the issue is with that 4th file. The headings work fine on the 4th file, but when doing the work on the binary numbers, it skips a few rows, converts to binary, but doesn't split into individual columns.
Can someone please look at this and help me troubleshoot? My troubleshooting skills are very very novice in VBA right now. The first sample spreadsheet contains a file that works correctly, and the second spreadsheet has the data that isn't working correctly. Just run the macro associated with each to see the end results in each. Thanks in advance!
Bookmarks