LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem in PasteSpecial function


I everyone this is my first port in this forum
I m facing a weird problem
I have following code written in VBA

Dim Source As Range
Target.*Copy*
Set Source = Application.Worksheets("Sheet2").Range("$A$1,$A$3" )
Source.*PasteSpecial* xlPasteAll, xlPasteSpecialOperationNone
Target.Select

This works perfectly fine

And when i write the same code in VC++ (Excel com addin)
paste special just throws me into catch block
More if my rangeptr contains more than one cell then it says ki merge
cell should of equal size ?? (None of my cells are merged in tha
range

--
ojas_mar
-----------------------------------------------------------------------
ojas_maru's Profile: http://www.msusenet.com/member.php?userid=184
View this thread: http://www.msusenet.com/t-187050837

 
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
Problem with speed of PasteSpecial for large ranges xlb[_2_] Excel Programming 4 February 20th 05 12:18 PM
selection.pastespecial problem rleonard[_2_] Excel Programming 1 May 31st 04 10:56 AM
FindNext problem when using PasteSpecial Glyn Baker Excel Programming 1 December 6th 03 08:40 PM
PasteSpecial problem Dave Peterson[_3_] Excel Programming 2 November 6th 03 02:45 AM
PasteSpecial problem Jim Rech Excel Programming 0 November 4th 03 04:47 PM


All times are GMT +1. The time now is 10:37 AM.

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

About Us

"It's about Microsoft Excel"