+ Reply to Thread
Results 1 to 2 of 2

Paste into visible columns/cells only

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    15

    Paste into visible columns/cells only

    Hello,

    Fairly new to VBA... so need some help!

    I want to restrict users to only paste values into the spread sheet. I found the below code from another thread and it works well.

    However, the spread sheet contains a hidden column. So when copying/pasting a row from another workbook, I want to ignore the hidden column (in the destination sheet) and paste into the visible columns/cells only.

    E.g.

    Source: Copy A1:J1
    Destination: Paste into A1:K1 (Column J is hidden)

    Please Login or Register  to view this content.
    I came across something called "xlCellTypeVisible", but not sure how to incorporate this into the above code.

    Really appreciate your help!

    Cheers,
    VJ

  2. #2
    Registered User
    Join Date
    05-14-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Paste into visible columns/cells only

    Guys... anyone?

+ 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] VBA - Filter, Copy and Paste Visible Columns If Cell has Value
    By gurlygal in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-30-2012, 08:10 AM
  2. Paste on Only Visible Columns
    By Gary Stu in forum Excel General
    Replies: 0
    Last Post: 04-12-2012, 10:28 AM
  3. Copy Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2010, 04:09 AM
  4. [SOLVED] copy and paste visible columns
    By ferde in forum Excel General
    Replies: 1
    Last Post: 12-08-2005, 04:55 AM
  5. Paste to only visible columns
    By JTF in forum Excel General
    Replies: 2
    Last Post: 09-02-2005, 10:05 AM

Tags for this Thread

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