pincivma
09-23-2012, 09:12 AM
Hi there
I have downloaded a form from Revenue Canada named gst190-fill-11e.pdf. The PDF form is fillable. To make a long story short, I have recreated the form in Excel 2000 and created an Excel program using VBA that automatically populates the cells. The problem is that Revenue Canada will not accept my Excel form and demands that I use their PDF fillable form. I'm tired of copying and pasting data from my Excel form to their gst190-fill-11e.pdf form, since I have hundreds of these to do. It is very time consuming. I tried to record a macro by copying and pasting from my Excel form onto their form but my macro looks something like this.
Range("A11").Select
Selection.Copy
Range("E11").Select
Application.CutCopyMode = False
Selection.Copy
Range("A16").Select
Application.CutCopyMode = False
Selection.Copy
Range("A18").Select
Application.CutCopyMode = False
Selection.Copy
Range("C18").Select
Application.CutCopyMode = False
Selection.Copy
Range("E18").Select
Application.CutCopyMode = False
Selection.Copy
Application.CutCopyMode = False
In other words, the name of the form did not appear in this recorded macro. Is there a way to create a macro that copies and pastes cells from Excel into a fillable PDF file??
If anyone out there has any idea how to do this, I would greatly appreciate it. If you want to look at the form just google it.
Mario
I have downloaded a form from Revenue Canada named gst190-fill-11e.pdf. The PDF form is fillable. To make a long story short, I have recreated the form in Excel 2000 and created an Excel program using VBA that automatically populates the cells. The problem is that Revenue Canada will not accept my Excel form and demands that I use their PDF fillable form. I'm tired of copying and pasting data from my Excel form to their gst190-fill-11e.pdf form, since I have hundreds of these to do. It is very time consuming. I tried to record a macro by copying and pasting from my Excel form onto their form but my macro looks something like this.
Range("A11").Select
Selection.Copy
Range("E11").Select
Application.CutCopyMode = False
Selection.Copy
Range("A16").Select
Application.CutCopyMode = False
Selection.Copy
Range("A18").Select
Application.CutCopyMode = False
Selection.Copy
Range("C18").Select
Application.CutCopyMode = False
Selection.Copy
Range("E18").Select
Application.CutCopyMode = False
Selection.Copy
Application.CutCopyMode = False
In other words, the name of the form did not appear in this recorded macro. Is there a way to create a macro that copies and pastes cells from Excel into a fillable PDF file??
If anyone out there has any idea how to do this, I would greatly appreciate it. If you want to look at the form just google it.
Mario