+ Reply to Thread
Results 1 to 4 of 4

Run Time error '-2147024773 (8007007b)':

Hybrid View

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    Seattle
    MS-Off Ver
    WA
    Posts
    6

    Run Time error '-2147024773 (8007007b)':

    Hi all,

    I'm seeing a similar issue as thread 1213055-excel-run-time-error-2147024773-8007007b-and-beforeprint-event but I haven't been able to figure out why I'm seeing the error.

    I have a button in which I'd like to save the sheet as a PDF with a specific naming convention as determined by cell B35.
    This sheet will be distributed to other users and will run from their local drive if that matters.
    Sub SavePDF()
    '
    ' SavePDF Macro
    ' Saves PDF to Public drive, opens PDF viewer
    '
    
    '
        ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
            "C:\Users\Public\Documents\" & Sheets("Record of Qualification").Range("B35").Value _
            , Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
            :=False, OpenAfterPublish:=True
    End Sub
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer


    The formula in B35 is as follows :

    =CONCAT(C3," - ",C5," - ",(TEXT(F33,"yyyy-mm-dd")))


    Thank you in advance for your help! Such a great community we have here.
    Last edited by 6StringJazzer; 12-17-2020 at 06:22 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,849

    Re: Run Time error '-2147024773 (8007007b)':

    What is the result of the formula in B35 when this error occurs?

    For getting the best and fastest possible help, attach your file (see yellow banner at the top of the page).

  3. #3
    Registered User
    Join Date
    12-17-2020
    Location
    Seattle
    MS-Off Ver
    WA
    Posts
    6

    Re: Run Time error '-2147024773 (8007007b)':

    Hello, I'll try to attach my file.
    B35 is showing up as intended. The data from that field is supposed to be the file name for the PDF that opens.

    The data showing in the B35 cell looks like this :
    GRIFFIN, ROBERT - << EXAMPLE - RECEIVING >> - 2020-12-17
    Last edited by GrahamLeeTW; 12-18-2020 at 10:24 AM.

  4. #4
    Registered User
    Join Date
    12-17-2020
    Location
    Seattle
    MS-Off Ver
    WA
    Posts
    6

    Re: Run Time error '-2147024773 (8007007b)':

    It looks like the data populated in B35 included some brackets. I removed the brackets from the source data and viola. It's working.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. excel run-time error -2147024773 (8007007b) and beforeprint event
    By DevilNava in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-21-2017, 01:52 PM
  2. [SOLVED] excel run-time error -2147024773 (8007007b)
    By ZeDoctor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-21-2017, 01:03 PM
  3. Replies: 1
    Last Post: 10-22-2015, 05:50 AM
  4. VBA ERROR: run time error 1004: Application-defined or Object-defined error in excel 2013
    By AnanthKrishna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2015, 06:16 AM
  5. Cannot Publish Excel Pivot Chart - Run Time Error
    By crisb184 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2013, 07:04 AM
  6. run-time error ;2147023179 (800706b5) time automation error interface unknown
    By karthik72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2012, 09:31 AM
  7. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1