• Comunidad global
    • Idioma:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Comunidad dedicada para hablantes de japonés
  • 한국 커뮤니티
    Comunidad dedicada para hablantes de coreano
Salir

Facing some issue with PDF when finding a value with VBA code for large files

Nuevo aquí ,
Nov 18, 2019 Nov 18, 2019

Copiar vínculo al Portapapeles

Copiado

microsoft excel is waiting for another application to complete an ole action vba.

 

when i am trying to find any text in adobe through VBA im facing some pop as above mentioned.

TEMAS
Bloqueo o congelación , Formularios PDF

Vistas

457

Traducir

Traducir

Informe

Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
LEYENDA ,
Nov 18, 2019 Nov 18, 2019

Copiar vínculo al Portapapeles

Copiado

PDFs do not use VBA. Also if you are using the cell script you are providng input to a VBA funcion.

Votos

Traducir

Traducir

Informe

Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Nuevo aquí ,
Nov 19, 2019 Nov 19, 2019

Copiar vínculo al Portapapeles

Copiado

Thanks for responce,

 

i am trying to access the adobe from VisualBasic for Application (Macros) and trying to find the number/text. then we getting a pop up(larger files like 300/500 pages and above) "microsoft excel is waiting for another application to complete an ole action vba"

Example:

sub codetest

   Dim PDFApp As AcroApp
   Dim PDFDoc As AcroAVDoc

'Initialize Acrobat by creating App object
Set PDFApp = CreateObject("AcroExch.App")
PDFApp.Show
'Set AVDoc object
Set PDFDoc = CreateObject("AcroExch.AVDoc")
'For Page number
Set AcroAvPageView = PDFDoc.GetAVPageView()

searchtext="Pleasesearchvalue"

If PDFDoc.Open(Docname, "") = True then

       If PDFDoc.findText(searchtext , 1, 0, 1) = -1 Then ' here we are getting the pop up."microsoft excel is waiting for another application to complete an ole action vba"

      Msgbox "Found"
       End If

endif

 

end sub

Votos

Traducir

Traducir

Informe

Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Nuevo aquí ,
Nov 20, 2019 Nov 20, 2019

Copiar vínculo al Portapapeles

Copiado

MÁS RECIENTES

Thanks for responce,

here i am trying to write my code in Excel VBA to acess adobe.

i am trying to access the adobe from VisualBasic for Application (Macros) and trying to search the number/text with findText option. then we getting a pop up(larger files like 300/500 pages and above) "microsoft excel is waiting for another application to complete an ole action vba"

Example:

sub codetest

   Dim PDFApp As AcroApp
   Dim PDFDoc As AcroAVDoc

'Initialize Acrobat by creating App object
Set PDFApp = CreateObject("AcroExch.App")
PDFApp.Show
'Set AVDoc object
Set PDFDoc = CreateObject("AcroExch.AVDoc")
'For Page number
Set AcroAvPageView = PDFDoc.GetAVPageView()

searchtext="Pleasesearchvalue"

If PDFDoc.Open(Docname, "") = True then

       If PDFDoc.findText(searchtext , 1, 0, 1) = -1 Then ' here we are getting the pop up."microsoft excel is waiting for another application to complete an ole action vba"

      Msgbox "Found"
       End If

endif

 

end sub

Votos

Traducir

Traducir

Informe

Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines