Thanks for your help David. When I use the format you suggest I get a type mismatch error. I have even tried using the **$ format and that doesn't give me the output I want.
Chuck
Don't use a text file, try saving this "code.txt" as a template(.xlt). Then in the VBProject of each workbook you are using the "code.txt" macros in, reference the template file.
Then you only have to update the code in the template, and are able to run the code in any...
Hello jaks999,
Did you record the formula entry with the macro recorder?
VBA formula debugging tip-
If your formula entered in VBA gives an error, perform the following steps:
Enter the formula in excel, and if you get the correct result then start the macro recorder and click in the formula...
Hi,
I am having trouble lining up dollar signs. Here is my code:
PRINT USING "& & $####,.## $####,.## $####,.##"; NAME$; TAB(18); DEPT$; TAB(34); BONUS; TAB(48); LOONGBONUS; TAB(66); MOEARNINGS
Now I thought that would line up all the signs, but it puts the signs in the end of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.