I am fledgling VBA macro user.
I have a macro that converts a txt file into specific length fields, and it all works fine.
However, one of those fields is always a 10 digit number.
When the macro runs, this number is converted into Excel, where the last few numbers are returned as zeros as Excel doesn't like long numbers (how infuriating).
What is the best way to convert an array as below into text/string before it gets into excel?
Array(53, 1), Array (67, 1), Array(77, 1)
TrailingMinusNumbers:=True
In Excel, this would be something like =text(Array(67, 1), "general").
I've tried CStr(Array(67, 1)) & String((10),Array(67, 1)) & (Array(67, 1), As String).