Tag: acrobat

IsNumeric函数对空单元格返回true

我运行一个macros从PDF文件复制表格,并将其保存在Excel中。 一些表格包含空单元格,在我的分析中,我需要知道空单元格的数量。 我有一个函数遍历每列以检查该单元格中的值是否为数字。 麻烦的是当我在一个空单元格上运行这个函数时,它返回true。 我什至尝试手动使用Isblank()函数咀嚼单元格,并返回“false”。 (如果我在粘贴的范围之外的任何单元格上尝试此操作,则返回“true”) 我猜测,当我从PDF中复制和粘贴东西时,它会以某种方式为空单元格粘贴一些值。 有没有人遇到类似的问题? 如果是的话,关于如何解决的任何想法? 如果这里有任何帮助是我用来复制和粘贴的代码 'Initialize Acrobat by creating App object Set PDFApp = CreateObject("AcroExch.App") 'Set AVDoc object Set PDFDoc = CreateObject("AcroExch.AVDoc") 'Open the PDF If PDFDoc.Open(PDFPath, "") = True Then PDFDoc.BringToFront 'Maximize the document Call PDFDoc.Maximize(True) Set PDFPageView = PDFDoc.GetAVPageView() 'Go to the desired page 'The first page is […]

使用VBA如何调用Adobe创buildPDFfunction

Sheets("Key Indicators").ExportAsFixedFormat Type:=xlTypePDF, Filename:=ArchivePath, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _ :=False, OpenAfterPublish:=False 目前这是我所拥有的。 我知道如何ExportAsFixedFormat PDF,但我需要知道如何做是使用VBA访问Acrobat下的创buildPDFfunction(如下图所示)。 如果我做ExportAsFixedFormat链接被夷为平地。 Acrobat“创buildPDF”将允许我将Excel转换为包含超链接的PDF。 我该怎么做? 我正在使用Excel 2016和Adobe Pro DC 这些是我的Adobe参考