Results 1 to 2 of 2
  1. #1
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Text Box Position Measurement (2003/SP2)

    I'm writing some code to create and position a text box.
    While I was recording (so I could figure out the actual measurements) I found that some measurements are recorded using the # symbol.
    Like this:
    (msoShapeRectangle, 94.75, 51#, 264.75, 60.75)

    I'm curious as to what the # represents.
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Text Box Position Measurement (2003/SP2)

    It means that the value is to be interpreted as of type Double (i.e. double precision floating point). The code will work just as well without the #, VBA is flexible enough to handle a mixture of integers and numbers with decimals.
    Others:
    ! means Single
    % means Integer
    & means Long integer
    @ means Currency

Posting Permissions

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