+ Reply to Thread
Results 1 to 1 of 1

Thread: VBA in multiple languages

  1. #1
    Registered User
    Join Date
    11-02-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    2

    VBA in multiple languages

    Hi,
    I wrote a VBA code in English. When I gave the code to somebody in Germany, I got a feedback that it is not running. Could you please let me know what should I do so that the same code works on a German computer as well. I suspected that it could be due to the use of True/False in English. So, I replaced True/False with Wahr/Falsch and sent it to Germany, but still it does not help.

    I have written a long code so I am copying below a part of the code:

    Public Sub EnableTextbox(textboxname As msforms.TextBox)
    textboxname.BackStyle = 1
    textboxname.BorderStyle = 0
    textboxname.SpecialEffect = 2
    textboxname.Enabled = True
    End Sub
    
    Public Sub DisableTextbox(textboxname As msforms.TextBox)
    textboxname.BackStyle = 0
    textboxname.SpecialEffect = 3
    textboxname.Value = ""
    textboxname.Enabled = False
    End Sub

    Thanks for your help!!
    Last edited by pike; 11-03-2011 at 02:59 AM. Reason: add code tags for newbie

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0