Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2013, 11:13 PM
Registered User
 
Join Date: Aug 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Print PDF file based on information in column

Hello,

I have defined the file path in column A2 [C:\test\stocks.pdf Column A3 C:\test\product.pdf upto 50 rows.]

I am trying this If (Application.Dialogs(xlDialogPrinterSetup).Show) = True Then
If ("sheet1").Range("A2") > 0

codes to achive the goal, they are imcomplete and i need a help to accomplish the task.

This Application.Dialogs(xlDialogPrinterSetup).Show will help me to select the printers available to me, as we have 2 printers and if i don't want a particular row where file path is defined we can cancel it.
 
Old August 24th, 2013, 03:22 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Can you explain if you are trying to print the PDFs from Excel VBA?

Are you trying to select the printer through dialog box

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old August 24th, 2013, 06:30 PM
Registered User
 
Join Date: Aug 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Shasur,

Thanks for reply, Yes they are existing PDF files in folder, & I want an printer selection dialog box.

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Print a form information to pdf Nishapd Classic ASP Basics 0 October 2nd, 2009 11:07 AM
print pdf file on client side gauravazad ASP.NET 2.0 Basics 1 October 31st, 2007 09:36 PM
Access report print each page to separate PDF file conh2so4aq Access VBA 5 July 3rd, 2006 08:00 PM
Access to print PDF file to default printer Dkline Access VBA 0 July 7th, 2004 03:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.