that is the text i have appearing each time i open excel.. and it say in
another window inside that window ''compilation error'' incorrect instruction
outside a procedure and then ok or help........ i'm getting desperate
lol.....and Dave yes it does happen everytime i open excel... and the green
mark i was talking about is the word true on this first line (at the end) is
highlighten.....thanks again for your help everyone,,, very precious to me...
Application.CommandBars("Borders").Visible = vrai
Application.CommandBars("Borders").Visible = False
Application.CommandBars("Compare Side by Side").Visible = True
Application.CommandBars("Compare Side by Side").Visible = False
Application.CommandBars("Exit Design Mode").Visible = True
Application.CommandBars("Exit Design Mode").Visible = False
Application.CommandBars("Drawing").Visible = True
Application.CommandBars("Diagram").Visible = True
Application.CommandBars("Diagram").Visible = False
Application.CommandBars("External Data").Visible = True
Application.CommandBars("External Data").Visible = False
Application.CommandBars("Forms").Visible = True
ActiveSheet.OptionButtons.Add(351.75, 57, 72, 72).Select
Range("G9").Select
ActiveSheet.CheckBoxes.Add(369.75, 84, 72, 72).Select
Range("G10").Select
ActiveSheet.CheckBoxes.Add(371.25, 122.25, 72, 72).Select
Range("G13").Select
ActiveSheet.CheckBoxes.Add(360, 153, 72, 72).Select
Columns("G:G").Select
Selection.Delete Shift:=xlToLeft
Columns("E:E").ColumnWidth = 12.57
Columns("F:H").Select
Selection.ClearContents
Selection.ClearContents
Selection.ClearContents
Selection.ClearContents
Selection.ClearContents
Selection.ClearContents
Selection.ClearContents
Range("J7").Select
ActiveSheet.CheckBoxes.Add(198, 47.25, 72, 72).Select
Application.CommandBars("Formatting").Visible = True
Application.CommandBars("Standard").Visible = True
Application.CommandBars("Exit Design Mode").Visible = True
Application.CommandBars("Exit Design Mode").Visible = False
Application.CommandBars("Diagram").Visible = True
Application.CommandBars("Diagram").Visible = False
Application.CommandBars("Chart").Visible = True
Application.CommandBars("Picture").Visible = True
Application.CommandBars("Chart Menu Bar").Visible = True
Application.CommandBars("Chart Menu Bar").Visible = False
Application.CommandBars("Control Toolbox").Visible = True
Selection.Delete
Range("H6").Select
ActiveSheet.OLEObjects.Add(ClassType:="Forms.ComboBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=414.75, Top:=243.75, Width:=23.25,
Height _
:=12).Select
Range("G19:H19").Select
ActiveSheet.Shapes("ComboBox1").Select
Range("G25").Select
ActiveSheet.Shapes("ComboBox1").Select
Range("F18").Select
ActiveSheet.Shapes("ComboBox1").Select
Selection.Delete
Range("H13").Select
ActiveWindow.Close
Application.CommandBars("Stop Recording").Visible = False
Workbooks.Add
Range("C11").Select
ActiveSheet.OLEObjects.Add(ClassType:="Forms.ComboBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=145.5, Top:=133.5, Width:=72,
Height:=18) _
.Select
Selection.ShapeRange.ScaleWidth 1.58, msoFalse, msoScaleFromTopLeft
Selection.ShapeRange.ScaleHeight 2.38, msoFalse, msoScaleFromTopLeft
Selection.ShapeRange.ScaleWidth 0.24, msoFalse, msoScaleFromTopLeft
Range("C7").Select
ActiveSheet.OLEObjects.Add(ClassType:="Forms.TextBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=153, Top:=144.75, Width:=72,
Height:=18). _
Select
Range("D16").Select
ActiveSheet.Shapes("TextBox1").Select
Selection.ShapeRange.IncrementLeft 98.25
Selection.ShapeRange.IncrementTop 1.5
ActiveSheet.Shapes("ComboBox1").Select
Range("B11").Select
ActiveSheet.Shapes("ComboBox1").Select
Range("C15").Select
ActiveWindow.Close
Workbooks.Add
ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=69, Top:=27, Width:=42.75, Height:=6). _
Select
Range("B4").Select
ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=75, Top:=45, Width:=108, Height:=19.5). _
Select
Range("B6").Select
ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=78.75, Top:=70.5, Width:=108, Height:= _
19.5).Select
Range("B9").Select
Application.WindowState = xlMinimized