I'm trying to print formatted text like you would do with printf. VBA lacks a printf and also the sprintf function. Does anybody have a routine which does the same function?
I want to output multiple "stringlets" on the same line at specific column positions (vbTab doesn't guarantee a specific position).
I have been using print #1, "blah"; Tab(40); "Blah blah";
Unfortunately, the file descriptor "1" is local to the workbook containing the code so I can't use print routines in different workbooks to print to the same file.



