I made a spreadsheet so I can extract data from a pdf and manipulate it into a qif file to import into Quicken.
All works well, but I have a bunch of blank rows where the macro places all the headers and fills the data with zeros. To stop this, if the row is empty I used
So that it leaves the rows blank.
The problem is the macro to transpose the rows to column must still see that the cells have code to them and gives me a 1004 runtime error:
Method 'Range' of object '_Worksheet' failed
Can someone please look at the spreadsheet at my dropbox link below, to see where the transpose to qif is breaking down, so that I can clear the output sheet and re transpose each time with variable data lengths.
https://www.dropbox.com/s/98d8la5laiirb8h/Fidelity-xls2qif Template.xlsm?dl=0
Thanks
All works well, but I have a bunch of blank rows where the macro places all the headers and fills the data with zeros. To stop this, if the row is empty I used
=IF(A1=""'"",Function)
So that it leaves the rows blank.
The problem is the macro to transpose the rows to column must still see that the cells have code to them and gives me a 1004 runtime error:
Method 'Range' of object '_Worksheet' failed
Set dataRange = Range(.Cells(12, 11), .Cells(.Rows.Count, 4).End(xlUp)) 'Data starts at 12th row and is 11 columns. First row starts with 4th column data'
Can someone please look at the spreadsheet at my dropbox link below, to see where the transpose to qif is breaking down, so that I can clear the output sheet and re transpose each time with variable data lengths.
https://www.dropbox.com/s/98d8la5laiirb8h/Fidelity-xls2qif Template.xlsm?dl=0
Thanks