• Running macros in spreadsheers (Office 2000 SR1a)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Running macros in spreadsheers (Office 2000 SR1a)

    Author
    Topic
    #364867

    Hi all!

    I have a spreadsheet which contains a macro to convert the spreadsheet into a PDF document using Acrobat’s PDFWriter and it works perfectly in Excel.

    Now what I am currently doing is opening the spreadsheet in Access by means of an Excel object and then running the macro to convert the spreadsheet to PDF and then closing the spreadsheet.

    Problem is that I get an error message saying that Acrobat is not installed and that I must please install Acrobat’s PDFWriter. I know that I got the same error message in Excel until I set the Reference to Acrobat PDFWriter, but I can’t find the Acrobat PDFWriter under the References in Access.

    Does anyone know how I can force Access to refer to Excel’s References when running an Excel macro inside an Excel object?

    Thanks

    James

    Viewing 0 reply threads
    Author
    Replies
    • #561508

      I think you’re going to have to use the Browse button in Access to find the file Excel’s references are using. You can’t make one application use the references for another.

      • #561969

        Hi Charlotte

        Thanks for the information, I suspected as much about the lack of inter-application operability for references. I did try the browse option, but since the PDFWriter’s code for Excel exists in a XLA file and Access is unable to utilize it, that option is not available either.

        Anyone else got any ideas or pointers?

        Thanks

        James

        • #561976

          You can’t set a reference to it even if you select the All Files option for file type under browse?

          • #561981

            No – Access is beeing pathetic not and allowing the XLA file to contain references or its not recognising the references in the XLA file.

    Viewing 0 reply threads
    Reply To: Running macros in spreadsheers (Office 2000 SR1a)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: