Results 1 to 2 of 2

How to force the display of trailing zeros in variables?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    How to force the display of trailing zeros in variables?

    How to force the display of trailing zeros in variables?

    In this code, the result should be 0.100 for the variable called "term_tab_a"
    but the system removes the trailing zeros and displays 0.1


    Private Sub Worksheet_Activate()
       term_tab_a = Worksheets("Terminal Data").Range("S19")
       Range("I46") = "Adj Dim of Cutoff Tab A (Ref " & term_tab_a & ")"
    End Sub
    Last edited by proepert; 04-19-2011 at 08:23 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1