+ Reply to Thread
Results 1 to 5 of 5

Switching language and direction at the same time

  1. #1
    amanda.toren
    Guest

    Switching language and direction at the same time

    I'm using Excel (Office 2003) on XP 2000. Is there a way to have Excel remember what language a particular cell was in so that I don't have to switch the language bar every time I need to correct a cell in a multi-language document? Thanks

    Amanda



  2. #2
    Bernie Deitrick
    Guest

    Re: Switching language and direction at the same time

    Amanda,

    I don't have a multi-language setup, but you could try this. Record a macro where you switch the
    language bar, once in each direction. Then use that code to modify this event code:

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Not Intersect(Target, Range("A1")) Is Nothing Then
    'Code to change to A1's language bar
    MsgBox "I just changed to A1's language bar"
    Else
    'Code to change to the other cells' language bar
    MsgBox "I just changed to the other cells' language bar"
    End If
    End Sub

    Copy the code, right-click on the sheet tab, select "View Code" and paste the code in the window
    that appears.

    If you have trouble, post the macro that you record when you switch language bars.

    HTH,
    Bernie
    MS Excel MVP


    "amanda.toren" <[email protected]> wrote in message news:[email protected]...
    > I'm using Excel (Office 2003) on XP 2000. Is there a way to have Excel remember what language a
    > particular cell was in so that I don't have to switch the language bar every time I need to
    > correct a cell in a multi-language document? Thanks
    >
    > Amanda
    >
    >




  3. #3
    amanda.toren
    Guest

    Re: Switching language and direction at the same time

    Thanks, that looks like it'll do the trick.

    ----- Original Message -----
    Amanda,

    I don't have a multi-language setup, but you could try this. Record a macro where you switch the
    language bar, once in each direction. Then use that code to modify this event code:

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Not Intersect(Target, Range("A1")) Is Nothing Then
    'Code to change to A1's language bar
    MsgBox "I just changed to A1's language bar"
    Else
    'Code to change to the other cells' language bar
    MsgBox "I just changed to the other cells' language bar"
    End If
    End Sub

    Copy the code, right-click on the sheet tab, select "View Code" and paste the code in the window
    that appears.

    If you have trouble, post the macro that you record when you switch language bars.

    HTH,
    Bernie
    MS Excel MVP


    "amanda.toren" <[email protected]> wrote in message news:[email protected]...
    > I'm using Excel (Office 2003) on XP 2000. Is there a way to have Excel remember what language a
    > particular cell was in so that I don't have to switch the language bar every time I need to
    > correct a cell in a multi-language document? Thanks
    >
    > Amanda
    >
    >





  4. #4
    Registered User
    Join Date
    06-24-2008
    Posts
    3

    Switching language

    can any one help me to Switching language automaticlly useing vb

    thanx

  5. #5
    Registered User
    Join Date
    06-24-2008
    Posts
    3

    Switching language

    can any one help me to Switching language automaticlly useing vb

    thanx


    Quote Originally Posted by amanda.toren
    Thanks, that looks like it'll do the trick.

    ----- Original Message -----
    Amanda,

    I don't have a multi-language setup, but you could try this. Record a macro where you switch the
    language bar, once in each direction. Then use that code to modify this event code:

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Not Intersect(Target, Range("A1")) Is Nothing Then
    'Code to change to A1's language bar
    MsgBox "I just changed to A1's language bar"
    Else
    'Code to change to the other cells' language bar
    MsgBox "I just changed to the other cells' language bar"
    End If
    End Sub

    Copy the code, right-click on the sheet tab, select "View Code" and paste the code in the window
    that appears.

    If you have trouble, post the macro that you record when you switch language bars.

    HTH,
    Bernie
    MS Excel MVP


    "amanda.toren" <[email protected]> wrote in message news:[email protected]...
    > I'm using Excel (Office 2003) on XP 2000. Is there a way to have Excel remember what language a
    > particular cell was in so that I don't have to switch the language bar every time I need to
    > correct a cell in a multi-language document? Thanks
    >
    > Amanda
    >
    >

+ Reply to Thread

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