Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Embarassing question... generating PDF in excel

Embarassing question... generating PDF in excel
Thread Tools
Mac Elite
Join Date: May 2001
Location: Up north
Status: Offline
Reply With Quote
Aug 7, 2002, 11:08 AM
 
Ok. I have to use VB for this application. No choice here. The thing is complete... all 2000 lines of it.... It generates Water Analysis FORMS.

It does this for hundreds of locations...

Anyways. In addition to printing these forms, which it does already, it needs to spit out a PDF. Excel cannot do this, apparently, with VB. You can't tell it to do something like destination.PrintOut PrintToFile:= theFilePath

So, many hundreds of locations, one can't just sit there typing file paths for each PDF they want to generate. Anyone got any ideas?

I can sort of get it to work with AppleScript... but you have to print a worksheet to a PDF first... or else it just prints to the printer.

Or am I just dreaming? Sigh.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2