#1
|
|||
|
|||
First Post - Macro to paste specific columns only
Hi everyone,
First post here. I have managed to teach myself to write basic VBA code and generally I can find the answer I am looking for by searching forums but this particular problem has me stumped. What I need to do is create a Word macro that will only paste certain cells from a table in the clipboard. For example, if I copy a single row from another documents table with 5 columns in it and only want to paste columns 1,3 and 5. Anyone have any ideas? Any help would be much appreciated. |
#2
|
||||
|
||||
AFAIK, you can't do that from the clipboard; the contents there are all one object. In any event, if you know what the source & destination tables are, you should be able to replicate the data without going via the clipboard.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
column paste clipboard |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Post PowerPoint VBA Macro Project | jigargogri | PowerPoint | 1 | 09-20-2016 06:52 AM |
Trying to find a macro that will copy a cell and paste that value to a specific sheet | bryans88 | Excel Programming | 1 | 12-23-2015 01:40 PM |
Macro to copy specific columns in Excel from another spreadsheet | KD999 | Excel Programming | 1 | 07-20-2012 08:58 AM |
How to separate specific columns from the data | kumar | Word | 1 | 06-04-2012 01:46 PM |
Adding columns in specific rows only | mhays | Excel | 5 | 01-17-2012 09:13 AM |