+ Reply to Thread
Results 1 to 3 of 3

Print out a file from hyperlinked cell

  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Print out a file from hyperlinked cell

    Hello,
    I have ‘hyperlinked” cell which contains the formula below.
    PHP Code: 
    =HYPERLINK(LEFT(CELL("filename"),FIND("[",CELL("filename"),1)-1) & "AllPDFs\" & C64 & ".pdf","*") 
    I need a macro which checks if the specified file exists and if exists, then send the file to print through my default printer (no need to open the file, just print).
    Could you please advise?
    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Print out a file from hyperlinked cell

    1a) Just this one file?
    1b) If so, what would be the trigger that causes THIS file to print and not others?
    1c) I not, what are the range of files to be triggered and what triggers the printing of all these files?

    2) Does this need to work on other individual files triggered separately?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Print out a file from hyperlinked cell

    Here is the basic functionality for dealing with the ONE file.
    Please Login or Register  to view this content.
    On your system you may need to remove the reference to ptrSafe in the first section.

+ 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. Need help with a macro to pull data from excel file in hyperlinked cell
    By ai11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2013, 08:29 AM
  2. Replies: 0
    Last Post: 01-10-2013, 11:36 AM
  3. Print All Hyperlinked Files in Specified Range
    By tbc76 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2012, 11:17 AM
  4. Print content of hyperlinked PDFs
    By banyard2000 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2012, 03:06 AM
  5. Print a Hyperlinked HTML file
    By LizS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2006, 06:25 AM
  6. How do I print a hyperlinked document from a cell in excel
    By Queenshero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2005, 03:06 AM
  7. How do I print hyperlinked documents from a cell in excel
    By Queenshero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-29-2005, 03:06 AM
  8. [SOLVED] Can't paste cell copied from hyperlinked file
    By Carole O in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2005, 05:06 PM

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