Trasnlation Problem from CD

G

Guest

Guest
I bought the Holy 16k macros! CD and have a translation problem perhaps somewhere there can help me with:

Code:
 'Place the code below into the worksheet module
Private Sub cmdAusschalten_Click()
Dim cm As CodeModule
  Set cm = ThisWorkbook.VBProject.VBComponents("Tabelle1").CodeModule
  With cm
    .DeleteLines .ProcStartLine("Worksheet_Change", vbext_pk_Proc), .ProcCountLines("Worksheet_Change", vbext_pk_Proc)
  End With
  Me.cmdAusschalten.Enabled = False
  Me.cmdEinschalten.Enabled = True
End Sub

Private Sub cmdEinschalten_Click()
   Dim strCode As String
   strCode = vbLf
   strCode = strCode & "Private Sub Worksheet_Change"
   strCode = strCode & "(ByVal Target As Range)" & vbLf
   strCode = strCode & "   Target.Offset(2, 0).Select" & vbLf
   strCode = strCode & "End Sub"
   With ThisWorkbook.VBProject.VBComponents("Tabelle1").CodeModule
      .AddFromString strCode
   End With
  Me.cmdAusschalten.Enabled = True
  Me.cmdEinschalten.Enabled = False
End Sub

What is "auschalten" and "einchalten" and what is their US excel equivalent? I figured out that "tabelle1" would be sheet1. Might be easy, but would not be the first dumb question I have asked.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Looking at the code, I'd say that 'cmdAusschalten' is a button to delete the Worksheet_Change event, and that 'cmdEinschalten' is a button to add it.

You also need to change the 'Tabelle1' reference to sheet that you want to add the code to...
 

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top