Search results

  1. P

    Office 9 library

    Microsoft Office 9 object library I cannot understand what fails to my code for creating a reference to the Microsoft Object library.it seems to me that the code is all right, the path is the same but my code does not produce a reference to this library. Could someone help me ? Function...
  2. P

    Positioning of the toolbar

    I use the following code to create a toolbar: Sub BuildCustomToolbar() Dim oCmdBar As CommandBar On Error Resume Next 'point to custom toolbar Set oCmdBar = CommandBars("MyToolbar") 'if it doesn't exist create it If Err <> 0 Then Set oCmdBar = CommandBars.Add("MyToolbar") Err = 0...
  3. P

    Compile error

    Thank you ! It did work
  4. P

    Compile error

    I have copied form Internet a function that creates a toolbar on the fly.However, when i use it i get the following error : Compile error : user defined type not defined. Should i refer to some library ? Here is the function : ' ----- Beginning Of Code ----- ' ,This sample creates a...
Back
Top Bottom