+ Reply to Thread
Results 1 to 2 of 2

Skipping a cell when pasting

Hybrid View

  1. #1
    Registered User
    Join Date
    06-15-2013
    Location
    United States
    MS-Off Ver
    Excel 20010
    Posts
    30

    Skipping a cell when pasting

    How would I skip pasting in a cell when pasting from a different worksheet. Where the ? mark is where I want to skip pasting in that cell.


    xlWsTarget.Range(xlWsTarget.Cells(eRow, 1), xlWsTarget.Cells(eRow, 7)).Value = _
                                    Array(.Cells(x, 1).Value, _
                                          .Cells(x, 9).Value, _
                                          .Cells(x, 4).Value, _
                                          .Cells(x, 7).Value, _
                                          .Cells(x, 12).Value, _
                                          .Cells(x, ?).Value, _
                                          .Cells(x, 22).Value)

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Skipping a cell when pasting

    xlWsTarget.Cells(eRow, 1).Resize(, 7).Value = _
    Array(.Cells(x, 1).Value, _
          .Cells(x, 9).Value, _
          .Cells(x, 4).Value, _
          .Cells(x, 7).Value, _
          .Cells(x, 12).Value, _
          "", _
          .Cells(x, 22).Value)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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