Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i have a large range of options on one worksheet. From these options, i would like to use a method of selection like a check box or cell containing qty to note the options to be copied to the next sheet (a quote). IE: options are 1-10, a person selects 1,4,6 and 9....i want these to appear on the next worksheet. I was using simply =IF(A!E1,A!B1," ") but left with blank cells inbetween those that werent selected. Also, the formatting was left behind. Is there any easier way to accomplish this or can i overcome the formatting problem?
Im a novice so any help is really appreciated! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assume you have a quantity column (column D) on sheet1, list starts in D3,
and you enter data starting in A5 on sheet 2 Sub copydata() Dim rw as Long, cell as Range rw = 5 For each cell in Worksheets("Sheet1").Range("D3:D12") if cell.Value 0 then cell.parent.Cells(cell.row,1).Resize(1,11).Copy _ Destination:=Worksheets("Quote").cells(rw,1) rw = rw + 1 end if Next End Sub copies column A to K of row with quantity 0 to sheet quote. -- Regards, Tom Ogilvy gavmer wrote in message ... i have a large range of options on one worksheet. From these options, i would like to use a method of selection like a check box or cell containing qty to note the options to be copied to the next sheet (a quote). IE: options are 1-10, a person selects 1,4,6 and 9....i want these to appear on the next worksheet. I was using simply =IF(A!E1,A!B1," ") but left with blank cells inbetween those that werent selected. Also, the formatting was left behind. Is there any easier way to accomplish this or can i overcome the formatting problem?? Im a novice so any help is really appreciated! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy & paste worksheet with print settings into new worksheet | Excel Discussion (Misc queries) | |||
How do I copy and paste a worksheet and maintain all formatting? | Excel Worksheet Functions | |||
copy and paste with multiple selections in Microsoft Excel | Excel Discussion (Misc queries) | |||
copy and paste with multiple selections in Microsoft Excel | Excel Discussion (Misc queries) | |||
excel 97: copy and paste values from one worksheet to another worksheet | Excel Programming |