Results 1 to 2 of 2

Thread: Office 2007 and 2010 & VB6 issues Text Boxes

  1. #1
    New Member
    Join Date
    Aug 12
    Posts
    6

    Office 2007 and 2010 & VB6 issues Text Boxes

    Hi All,

    I having a slight issue with Text Boxes and I have never seen this error before.

    This form is a DLL which is used by Excel The user Then Loads This Form up and put in the Numbers they require Say they want 4.2 they put that in but it changes it to 24 it removes the decimal Point and it does the same on the Cell in excel where they put the number. You can put the numbers in with decimal places fine in Excel and then when you load the form it will pick it up with the d.p. Why would this do this?
    Any ideas how to fix it would be great!

    Thanks in advance!

  2. #2
    PowerPoster
    Join Date
    Dec 04
    Posts
    18,587

    Re: Office 2007 and 2010 & VB6 issues Text Boxes

    i assume this dll is from an external company and you have no access to the source code?
    as there is no way to tell what is happening within the dll, you would need to refer it back to the writer of the dll

    if the wrong result is always consistent, it may be possible to convert the values inserted into excel, using VBA in the worksheet change event
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

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