Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to create the following funtionality:
1. Copy data from specific cells in the highlighted row. 2. Paste the data into a different worksheet. I think I understand how to paste the data into another worksheet, but how do I get data from specific columns into the clipboard? Example: 1. User selects row 3. 2. User clicks the "Create Report" button. 3. Excel copies data from 3C, 3D, and 3H. 4. Excel pastes the data into Worksheet "Report." 5. User selects row 8. 6. User clicks the same button. 7. Excel copies data from 8C, 8D, and 8H, overwriting the previous data. Steps 3 and 7 are where I'm hung up. I'm very new to programing, so any help is appreciated... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this TexWolf
Cells(ActiveCell.Row, 1).Range("C1,D1,H1").Copy Sheets("Report").Range("A1") -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "TexWolf" wrote in message ... I want to create the following funtionality: 1. Copy data from specific cells in the highlighted row. 2. Paste the data into a different worksheet. I think I understand how to paste the data into another worksheet, but how do I get data from specific columns into the clipboard? Example: 1. User selects row 3. 2. User clicks the "Create Report" button. 3. Excel copies data from 3C, 3D, and 3H. 4. Excel pastes the data into Worksheet "Report." 5. User selects row 8. 6. User clicks the same button. 7. Excel copies data from 8C, 8D, and 8H, overwriting the previous data. Steps 3 and 7 are where I'm hung up. I'm very new to programing, so any help is appreciated... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Ron.
"Ron de Bruin" wrote: Try this TexWolf Cells(ActiveCell.Row, 1).Range("C1,D1,H1").Copy Sheets("Report").Range("A1") -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "TexWolf" wrote in message ... I want to create the following funtionality: 1. Copy data from specific cells in the highlighted row. 2. Paste the data into a different worksheet. I think I understand how to paste the data into another worksheet, but how do I get data from specific columns into the clipboard? Example: 1. User selects row 3. 2. User clicks the "Create Report" button. 3. Excel copies data from 3C, 3D, and 3H. 4. Excel pastes the data into Worksheet "Report." 5. User selects row 8. 6. User clicks the same button. 7. Excel copies data from 8C, 8D, and 8H, overwriting the previous data. Steps 3 and 7 are where I'm hung up. I'm very new to programing, so any help is appreciated... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to select cells in specific Columns? | Excel Programming | |||
I need a specific value in auto filter to fill a combo box and than match the select value in 2 other columns. | Excel Worksheet Functions | |||
find specific data in row and select and copy entirerow | Excel Programming | |||
Select specific columns for a given cell selection | Excel Programming | |||
Select specific Data from a cell | Excel Programming |