Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Bitmap Pasting to a Word Application

Dear All,

I am having a very strange and odd problem with Excel and Word.
If you could kindly propose any solution ideas, I shall appreciate it very
much.

I have a reporting VBA application on the Excel. Smoothly produces all the
reports.
I have to put the reports in a Word application. The reports are not fixed
row and column sizes. I have to generate a Bitmap image of the Excel report
and
tried to Paste it in the Word Application. Very strangely, on the very first
runs no problems. It worked, I had the reports Bitmap pics on Word beatifully
as I wanted but then later something happened, may be the ghost in the
machine.
Excel VBA is copying the range and sending it to the Word application but,
the pasted bitmap is a blank object, sadly, very sadly nothing inside.
In order to complete my reports on time, I tried a backdoor tactic and
created a Word macro doing the PasteSpecial Datatype:=wdPasteBitmap and
assigned it to a keyboard shortcut macro. Bingo! It worked. However it is
taking so long to complete a full set of report with approx. 200 x 30
Cntrl-Qs and shifting between the applications is awfully open to error. I
have tried another backdoor route because I were running short on time, I
tried the Sendkeys method but unfortunately, the same ghost in the same
machine, very first few runs it worked, then generated empty objects. I
cleaned the Clipboard if incase there is a memory related problem. No
progess. I tried to pause the code before and after the PasteSpecial steps.
No progess. Then I wondered if the Excel Bitmap function is not working
properly so I tried a code to generate my own bitmap pictures, which worked
fine, but the same ghost in the same machine, blank pages were there after
the second or third runs so sadly and so misfortunately.
I tried the 2007 and 2003 vers. of Excel but sadly, very same.
I am working on a licenced XP Pro and licenced Office Pro Pentium 4 with
4GbRAM and lots of disk space. If you may need to see the code, I shall send
the code as well.

If some Guru could help fiding the ghost in the machine, I shall be more
then gratefull.

Regards,
VBANovice trying to find the Ghost in the Machine

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Special Pasting Quattro Pro 9 file as bitmap, how to manipulate now? jbclem New Users to Excel 1 February 16th 07 09:32 AM
Copy from Excel and paste as bitmap in Word Julie Excel Programming 3 August 30th 06 07:00 AM
copy pasting bitmap into email in lotus notes [email protected] Excel Programming 0 May 31st 06 05:03 PM
Pasting into another application usin Excel VBA SystemHack[_12_] Excel Programming 2 December 29th 05 01:50 PM
Application activation and pasting Samuel Barnhouse Excel Programming 4 April 4th 05 09:58 PM


All times are GMT +1. The time now is 07:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"