JMongi
Active member
- Local time
- Yesterday, 23:20
- Joined
- Jan 6, 2021
- Messages
- 802
Well, I sort of solved it, LOL.
So, something with defining the excel object types at the beginning, even though they aren't being set until later caused the error.
Now, I just don't get any output at all! It makes it through the export command but no file is generated.
Edit: Scratch that....something funky is going on.
So, if I comment out the Excel Object Dims, it doesn't error on the transfer command. But, even if I move the Dims to after the transfer command and leave them uncommented, it errors. I'm going to try and compartmentalize the code into two functions, the export and the format and see if structuring it that way gets me out of this mess.
So, something with defining the excel object types at the beginning, even though they aren't being set until later caused the error.
Now, I just don't get any output at all! It makes it through the export command but no file is generated.
Edit: Scratch that....something funky is going on.
So, if I comment out the Excel Object Dims, it doesn't error on the transfer command. But, even if I move the Dims to after the transfer command and leave them uncommented, it errors. I'm going to try and compartmentalize the code into two functions, the export and the format and see if structuring it that way gets me out of this mess.