"Locate" in the program
#26
Just extend the print using to #,###,###.00 or use #,###,###,###.00 if billion $
Code: (Select All)
Sub PU (row, col, label$, number As Double) ' label needs to be 25 chars max
    Dim buf$
    Locate row, col
    buf$ = Space$(25)
    Mid$(buf$, 1) = label$
    Print Using buf$ + ": #,###,###,###.00"; number
End Sub
I only used ###,###.## because that is what you used!

GetNumber() is right aligned input.

Even with VB or any GUI you need to allow for maximum number.
b = b + ...
Reply


Messages In This Thread
"Locate" in the program - by Kernelpanic - 06-07-2022, 08:04 PM
RE: "Locate" in the program - by bplus - 06-08-2022, 03:30 PM
RE: "Locate" in the program - by Kernelpanic - 06-08-2022, 05:30 PM
RE: "Locate" in the program - by bplus - 06-08-2022, 06:07 PM
RE: "Locate" in the program - by bplus - 06-08-2022, 07:26 PM
RE: "Locate" in the program - by Kernelpanic - 06-08-2022, 08:39 PM
RE: "Locate" in the program - by RhoSigma - 06-08-2022, 09:49 PM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 03:01 PM
RE: "Locate" in the program - by bplus - 06-08-2022, 08:41 PM
RE: "Locate" in the program - by Pete - 06-09-2022, 01:50 AM
RE: "Locate" in the program - by bplus - 06-09-2022, 03:40 AM
RE: "Locate" in the program - by Pete - 06-09-2022, 03:55 AM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 03:14 PM
RE: "Locate" in the program - by James D Jarvis - 06-09-2022, 03:16 PM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 04:12 PM
RE: "Locate" in the program - by James D Jarvis - 06-09-2022, 04:30 PM
RE: "Locate" in the program - by RhoSigma - 06-09-2022, 07:50 PM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 09:16 PM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 09:04 PM
RE: "Locate" in the program - by Kernelpanic - 06-09-2022, 04:14 PM
RE: "Locate" in the program - by SMcNeill - 06-10-2022, 04:47 AM
RE: "Locate" in the program - by SMcNeill - 06-10-2022, 05:08 AM
RE: "Locate" in the program - by Kernelpanic - 06-10-2022, 06:29 PM
RE: "Locate" in the program - by bplus - 06-10-2022, 07:42 PM
RE: "Locate" in the program - by Kernelpanic - 06-10-2022, 08:47 PM
RE: "Locate" in the program - by DSMan195276 - 06-10-2022, 11:34 PM
RE: "Locate" in the program - by bplus - 06-10-2022, 09:00 PM
RE: "Locate" in the program - by Kernelpanic - 06-10-2022, 11:15 PM
RE: "Locate" in the program - by Kernelpanic - 06-10-2022, 11:22 PM
RE: "Locate" in the program - by Kernelpanic - 06-10-2022, 11:49 PM
RE: "Locate" in the program - by DSMan195276 - 06-10-2022, 11:57 PM
RE: "Locate" in the program - by bplus - 06-11-2022, 12:10 AM
RE: "Locate" in the program - by Kernelpanic - 06-12-2022, 08:50 PM
RE: "Locate" in the program - by Kernelpanic - 06-12-2022, 08:56 PM
RE: "Locate" in the program - by bplus - 06-12-2022, 09:27 PM
RE: "Locate" in the program - by Kernelpanic - 06-12-2022, 09:54 PM
RE: "Locate" in the program - by bplus - 06-12-2022, 11:16 PM
RE: "Locate" in the program - by Kernelpanic - 06-13-2022, 01:16 PM
RE: "Locate" in the program - by bplus - 06-13-2022, 07:07 PM
RE: "Locate" in the program - by Kernelpanic - 06-13-2022, 08:49 PM
RE: "Locate" in the program - by Pete - 06-14-2022, 06:10 AM



Users browsing this thread: 13 Guest(s)