4 Replies Latest reply: Aug 4, 2014 1:32 PM by Srikanth P RSS

    Macro export table ("TB01") to QVD not working

      Hi, I have two similar macro's one works the other not. Can someone explain what I'm doing wrong, Thanks.

       

      The one here works:

      Sub ExportLocalFactuurOmzetCH02

      set obj = ActiveDocument.GetSheetObject("CH02")

      obj.Export "C:\Users\Public\Documents\BronTabellenQVDs\Verzameling\toenamepercentageSAP.qvd", 4   

      End Sub

       

      The one here does not work:    

      Sub ExportLocalTB01

      set obj = ActiveDocument.GetSheetObject("TB01")

      obj.Export "C:\Users\Public\Documents\BronTabellenQVDs\Verzameling\toenamepercentageSAP.qvd", 4

        End Sub