Dear Gurus and Masters,
I am a novice VBA coder. I have a code that generates a company report in Excel VBA then to copies the tables in Bitmap format to Word.
As the report gets longer and longer manual intervention is getting more annoying so I tried to automate this step. However a very strange problem is happening.
I have two VBAs one in Excel generating the tables and the other in Word defining the Paste Special Datatype :=4 as a PastaS VBA. I run this PasteSpecial Word VBA from Excel WordApp.Run "PastaS" and have a shortcut Cntrl-Q too.
The strange problem occuring is that, when I manually key in the Short Cut the Paste Special Bitmap works perfectly yet when the code does it, a blank object is generated and copied into Word.
If the Gurus and Masters of VBA could provide help on this issue, I shall be more then gratefull for their help.
Regards,
Novice VBA