+ Reply to Thread
Results 1 to 3 of 3

Paste Special is not working

  1. #1
    Registered User
    Join Date
    10-18-2017
    Location
    INDIA
    MS-Off Ver
    MS OFFICE 13
    Posts
    0

    Exclamation Paste Special is not working

    Hi friends,

    my requirement is to copy from one sheet to another sheet with paste special values but its not working in my code.

    Please suggest me where i am missing and the below is the code.


    For Each Cell In Worksheets("semi (2)").Range("b13:b22")

    If IsEmpty(Cell) = True Then
    MsgBox "All posted"
    Else
    Range("c4").Copy Worksheets("all Sale").Cells(nextrow, 1)
    Range("p4").Copy Worksheets("all Sale").Cells(nextrow, 2)
    Range("l6").Copy Worksheets("all Sale").Cells(nextrow, 3)
    Range("l10").Copy Worksheets("all Sale").Cells(nextrow, 4)
    Cell.Copy Worksheets("all Sale").Cells(nextrow, 5)

    Dim a As Integer
    a = Cell.Row
    Cells(a, 5).Copy Worksheets("all Sale").Cells(nextrow, 6)
    Cells(a, 6).Copy Worksheets("all Sale").Cells(nextrow, 7)
    Cells(a, 7).Copy Worksheets("all Sale").Cells(nextrow, 8)
    Cells(a, 8).Copy Worksheets("all Sale").Cells(nextrow, 9)
    Cells(a, 9).Copy Worksheets("all Sale").Cells(nextrow, 10)
    Cells(a, 10).Copy Worksheets("all Sale").Cells(nextrow, 11)
    Cells(a, 11).Copy Worksheets("all Sale").Cells(nextrow, 12)
    Cells(a, 12).Copy Worksheets("all Sale").Cells(nextrow, 13)
    Cells(a, 13).Copy Worksheets("all Sale").Cells(nextrow, 14)
    Cells(a, 14).Copy Worksheets("all Sale").Cells(nextrow, 15)
    Cells(a, 15).Copy Worksheets("all Sale").Cells(nextrow, 16)
    Cells(a, 16).Copy Worksheets("all Sale").Cells(nextrow, 17)
    Cells(a, 17).Copy Worksheets("all Sale").Cells(nextrow, 18)
    nextrow = nextrow + 1


    End If
    Next

  2. #2
    Registered User
    Join Date
    10-18-2017
    Location
    INDIA
    MS-Off Ver
    MS OFFICE 13
    Posts
    0

    Re: Paste Special is not working

    Please help me on this...

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello nagarjuna.sana,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Paste Special not working correctly
    By pongmeister in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-09-2016, 06:15 PM
  2. paste special using with not working
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2015, 07:38 PM
  3. paste special not working in excel
    By Lisa Excel Queen in forum Excel General
    Replies: 4
    Last Post: 04-21-2012, 01:07 PM
  4. Replies: 2
    Last Post: 03-27-2012, 02:49 PM
  5. Paste special - paste link not working/greyed our
    By adame in forum Excel General
    Replies: 0
    Last Post: 06-10-2011, 07:16 AM
  6. Paste Special is not working properly.
    By BigBas in forum Excel General
    Replies: 7
    Last Post: 12-05-2007, 05:04 PM
  7. Paste Special not working
    By didemps in forum Excel General
    Replies: 1
    Last Post: 11-24-2005, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1