Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
The following code copies/pastes data and assigns an item number one b one. Only problem is, when the pasted info is viewed, the item number run highest to lowest down the column. IE 12 11 10 How can i reverse the order number so that it counts up. IE 1 2 3 4 Cheers all!!!! -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
oops,sorry all, heres the code!!!!!
Sub CopyData() Dim wsFedex As Worksheet Dim wsquote As Worksheet Set wsFedex = Worksheets("FEDEX calculator") Set wsquote = Worksheets("quote") With wsFedex .Range("A19:E19").Copy wsquote.Cells(21, "A").PasteSpecial xlPasteValues .Range("H19").Copy wsquote.Cells(21, "F").PasteSpecial xlPasteValues .Range("J19").Copy wsquote.Cells(21, "G").PasteSpecial xlPasteValues .Range("D13").Value = .Range("D13").Value + 1 Application.CutCopyMode = False wsquote.Rows(21).Insert End With End Su -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple Criteria, Count If, Sum Product to get count across range | Excel Worksheet Functions | |||
Count Employee Work Time - Don't Count Duplicates | Excel Worksheet Functions | |||
Count Employee Work Time - Don't Double-count Overlapping Apts. | Excel Worksheet Functions | |||
Excel 2000, count, sort a list & count totals? | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |