Search results

  1. C

    Compile error little sub

    Hello all, i want to use vba compiler and protection but when he refused to compile the code… The compiler give me that code : “Synthax error, line 1,16” (see screenshot) My sub is very simple : sub protect_as () ActiveSheet.protect (“”) end sub Do you have some idea ? thank you my excel is...
  2. C

    VBA code ThisWorkbook.Path does not work - SOLVED

    For answer, shall i create a new post?
  3. C

    VBA code ThisWorkbook.Path does not work - SOLVED

    ActiveWorkbook.FollowHyperlink Address:=adresse there is the error, i think the 'ActiveWorkbook" doesn’t work. Do you have a idea please? This sub is to open a pdf file. Thank you
  4. C

    VBA code ThisWorkbook.Path does not work - SOLVED

    In the same theme i have an error who prompt when i click a button to open an pdf file. “Compilation error. sub or function not defined.” This is my VBA code : Sub link_pdf() Dim adresse As String adresse = "WikiEvalMat.pdf" Call PathToFile(adresse) If adresse = “” Then Exit Sub Else...
Back
Top