PC Review


Reply
Thread Tools Rate Thread

Autopopulate a fillable PDF form using VBA before attaching to Ema

 
 
CAM
Guest
Posts: n/a
 
      7th Jul 2009

I'm using Access 2007. On a form, I have a button with VBA code to send an
email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
from fields on the form, and it also attaches a PDF file.

My question is: How can I autopopulate the fillable PDF form with some of
the fields from the Access Form BEFORE it attaches the PDF form to the
email--without having to manually do it first before clicking the "Send
Email" button on the form?
 
Reply With Quote
 
 
 
 
Jack Leach
Guest
Posts: n/a
 
      7th Jul 2009

The closest thing I've been able to find is a dll called iTextSharp, which
apparently was created specifically to work with pdf documents, including
autofilling pdf form fields. The caveat: it works for about every language
except VBA. Oh, there was a post regarding using it in VBA on Experts
Exchange, but I'm not willing to pay money to see their answers.

I even went through Lebans ReportToPDF module to see if he might have
something... no luck.

If you google iTextSharp.dll you'll find plenty of info for Java, ASP, .NET,
C# etc. Maybe you can make something of it work for VBA.

There are a few applications that you can purchase at upwards of $100 to do
this as well.

good luck! I'd be very curious to see if there is free solution available
for VBA.

--
Jack Leach
www.tristatemachine.com

"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)



"CAM" wrote:

> I'm using Access 2007. On a form, I have a button with VBA code to send an
> email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
> from fields on the form, and it also attaches a PDF file.
>
> My question is: How can I autopopulate the fillable PDF form with some of
> the fields from the Access Form BEFORE it attaches the PDF form to the
> email--without having to manually do it first before clicking the "Send
> Email" button on the form?

 
Reply With Quote
 
CAM
Guest
Posts: n/a
 
      7th Jul 2009

Thank you for your time, Jack. I will do a google search on iTextSharp that
you mentioned. Since it doesnt work with VBA, then maybe it will be possible
to use Visual Basic and then have my VBA code call a VB script procedure. I
will follow up on this lead. Again, thank you for your time.

Sincerely,

Cheryl

"Jack Leach" wrote:

> The closest thing I've been able to find is a dll called iTextSharp, which
> apparently was created specifically to work with pdf documents, including
> autofilling pdf form fields. The caveat: it works for about every language
> except VBA. Oh, there was a post regarding using it in VBA on Experts
> Exchange, but I'm not willing to pay money to see their answers.
>
> I even went through Lebans ReportToPDF module to see if he might have
> something... no luck.
>
> If you google iTextSharp.dll you'll find plenty of info for Java, ASP, .NET,
> C# etc. Maybe you can make something of it work for VBA.
>
> There are a few applications that you can purchase at upwards of $100 to do
> this as well.
>
> good luck! I'd be very curious to see if there is free solution available
> for VBA.
>
> --
> Jack Leach
> www.tristatemachine.com
>
> "I haven't failed, I've found ten thousand ways that don't work."
> -Thomas Edison (1847-1931)
>
>
>
> "CAM" wrote:
>
> > I'm using Access 2007. On a form, I have a button with VBA code to send an
> > email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
> > from fields on the form, and it also attaches a PDF file.
> >
> > My question is: How can I autopopulate the fillable PDF form with some of
> > the fields from the Access Form BEFORE it attaches the PDF form to the
> > email--without having to manually do it first before clicking the "Send
> > Email" button on the form?

 
Reply With Quote
 
ryguy7272
Guest
Posts: n/a
 
      8th Jul 2009

As an alternative, you may consider this:
http://www.datapigtechnologies.com/f...einreport.html

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"CAM" wrote:

> Thank you for your time, Jack. I will do a google search on iTextSharp that
> you mentioned. Since it doesnt work with VBA, then maybe it will be possible
> to use Visual Basic and then have my VBA code call a VB script procedure. I
> will follow up on this lead. Again, thank you for your time.
>
> Sincerely,
>
> Cheryl
>
> "Jack Leach" wrote:
>
> > The closest thing I've been able to find is a dll called iTextSharp, which
> > apparently was created specifically to work with pdf documents, including
> > autofilling pdf form fields. The caveat: it works for about every language
> > except VBA. Oh, there was a post regarding using it in VBA on Experts
> > Exchange, but I'm not willing to pay money to see their answers.
> >
> > I even went through Lebans ReportToPDF module to see if he might have
> > something... no luck.
> >
> > If you google iTextSharp.dll you'll find plenty of info for Java, ASP, .NET,
> > C# etc. Maybe you can make something of it work for VBA.
> >
> > There are a few applications that you can purchase at upwards of $100 to do
> > this as well.
> >
> > good luck! I'd be very curious to see if there is free solution available
> > for VBA.
> >
> > --
> > Jack Leach
> > www.tristatemachine.com
> >
> > "I haven't failed, I've found ten thousand ways that don't work."
> > -Thomas Edison (1847-1931)
> >
> >
> >
> > "CAM" wrote:
> >
> > > I'm using Access 2007. On a form, I have a button with VBA code to send an
> > > email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
> > > from fields on the form, and it also attaches a PDF file.
> > >
> > > My question is: How can I autopopulate the fillable PDF form with some of
> > > the fields from the Access Form BEFORE it attaches the PDF form to the
> > > email--without having to manually do it first before clicking the "Send
> > > Email" button on the form?

 
Reply With Quote
 
CAM
Guest
Posts: n/a
 
      8th Jul 2009

Hi Ryan. I appreciate your response. I like it and could possibly use it in
other situations. However, in this case though, I dont know if it will work
for what I want. It's my fault, I didnt say this in my original post, but I
need my client to be able to fill in the other fields in the fillable PDF
form and email it back to me.

The PDF form that gets attached to my email has a "Submit" button on it that
emails it directly back to me after the client has completed the form and
clicks "Submit".

I know there is more than one way to skin a cat, so I will keep trying...

I very much appreciate your response.

Sincerely,

Cheryl



"ryguy7272" wrote:

> As an alternative, you may consider this:
> http://www.datapigtechnologies.com/f...einreport.html
>
> HTH,
> Ryan---
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.
>
>
> "CAM" wrote:
>
> > Thank you for your time, Jack. I will do a google search on iTextSharp that
> > you mentioned. Since it doesnt work with VBA, then maybe it will be possible
> > to use Visual Basic and then have my VBA code call a VB script procedure. I
> > will follow up on this lead. Again, thank you for your time.
> >
> > Sincerely,
> >
> > Cheryl
> >
> > "Jack Leach" wrote:
> >
> > > The closest thing I've been able to find is a dll called iTextSharp, which
> > > apparently was created specifically to work with pdf documents, including
> > > autofilling pdf form fields. The caveat: it works for about every language
> > > except VBA. Oh, there was a post regarding using it in VBA on Experts
> > > Exchange, but I'm not willing to pay money to see their answers.
> > >
> > > I even went through Lebans ReportToPDF module to see if he might have
> > > something... no luck.
> > >
> > > If you google iTextSharp.dll you'll find plenty of info for Java, ASP, .NET,
> > > C# etc. Maybe you can make something of it work for VBA.
> > >
> > > There are a few applications that you can purchase at upwards of $100 to do
> > > this as well.
> > >
> > > good luck! I'd be very curious to see if there is free solution available
> > > for VBA.
> > >
> > > --
> > > Jack Leach
> > > www.tristatemachine.com
> > >
> > > "I haven't failed, I've found ten thousand ways that don't work."
> > > -Thomas Edison (1847-1931)
> > >
> > >
> > >
> > > "CAM" wrote:
> > >
> > > > I'm using Access 2007. On a form, I have a button with VBA code to send an
> > > > email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
> > > > from fields on the form, and it also attaches a PDF file.
> > > >
> > > > My question is: How can I autopopulate the fillable PDF form with some of
> > > > the fields from the Access Form BEFORE it attaches the PDF form to the
> > > > email--without having to manually do it first before clicking the "Send
> > > > Email" button on the form?

 
Reply With Quote
 
Jack Leach
Guest
Posts: n/a
 
      8th Jul 2009

Thats a good idea...

--
Jack Leach
www.tristatemachine.com

"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)



"ryguy7272" wrote:

> As an alternative, you may consider this:
> http://www.datapigtechnologies.com/f...einreport.html
>
> HTH,
> Ryan---
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.
>
>
> "CAM" wrote:
>
> > Thank you for your time, Jack. I will do a google search on iTextSharp that
> > you mentioned. Since it doesnt work with VBA, then maybe it will be possible
> > to use Visual Basic and then have my VBA code call a VB script procedure. I
> > will follow up on this lead. Again, thank you for your time.
> >
> > Sincerely,
> >
> > Cheryl
> >
> > "Jack Leach" wrote:
> >
> > > The closest thing I've been able to find is a dll called iTextSharp, which
> > > apparently was created specifically to work with pdf documents, including
> > > autofilling pdf form fields. The caveat: it works for about every language
> > > except VBA. Oh, there was a post regarding using it in VBA on Experts
> > > Exchange, but I'm not willing to pay money to see their answers.
> > >
> > > I even went through Lebans ReportToPDF module to see if he might have
> > > something... no luck.
> > >
> > > If you google iTextSharp.dll you'll find plenty of info for Java, ASP, .NET,
> > > C# etc. Maybe you can make something of it work for VBA.
> > >
> > > There are a few applications that you can purchase at upwards of $100 to do
> > > this as well.
> > >
> > > good luck! I'd be very curious to see if there is free solution available
> > > for VBA.
> > >
> > > --
> > > Jack Leach
> > > www.tristatemachine.com
> > >
> > > "I haven't failed, I've found ten thousand ways that don't work."
> > > -Thomas Edison (1847-1931)
> > >
> > >
> > >
> > > "CAM" wrote:
> > >
> > > > I'm using Access 2007. On a form, I have a button with VBA code to send an
> > > > email. It autopopulates the TO, FROM, SUBJECT, and BODY of an Outlook email
> > > > from fields on the form, and it also attaches a PDF file.
> > > >
> > > > My question is: How can I autopopulate the fillable PDF form with some of
> > > > the fields from the Access Form BEFORE it attaches the PDF form to the
> > > > email--without having to manually do it first before clicking the "Send
> > > > Email" button on the form?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: creating a fillable area in a fillable forms... Stefan Blom Microsoft Word Document Management 0 1st Dec 2009 07:04 PM
creating a fillable area in a fillable forms... nittany21 Microsoft Word Document Management 0 1st Dec 2009 06:35 PM
Fillable Form =?Utf-8?B?dWI=?= Microsoft Word Document Management 1 26th Feb 2007 07:46 PM
Can a form made in Excel 2002 be converted into a fillable form? =?Utf-8?B?UGFyYWNsZXRl?= Microsoft Excel Misc 1 20th Feb 2007 09:20 PM
Fillable form loses fillable fields when emailed - how do I fix =?Utf-8?B?U2hlbGxleQ==?= Microsoft Excel Worksheet Functions 0 24th Apr 2006 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:43 AM.