Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
another way since you didn't say, i assumed that your numbers would be in a column. i chose column F for test purposes only. adjust to suit. Sub changeit() Dim r As Range Dim lr As Long lr = Cells(Rows.Count, "f").End(xlUp).Row Set r = Range("F2:F" & lr) For Each cell In r 'cell.Select 'not needed. test pruposes only. cell.Value = "-" & Left(cell, Len(cell) - 1) Next cell End Sub regards FSt1 "cheri gemini" wrote: When pasting data from our main frame, negative numbers have the - sign at the end. I need a macro to edit the cell, backspace, home, - enter. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros | Excel Programming | |||
choose default macros Not Enabled / Macros Enable Setting | Excel Programming | |||
weird saving of a document with macros resulting with macros being transfered to the copy | Excel Programming | |||
Macros inside macros, and pasting into macro code. | Excel Programming | |||
Open workbook-macros enabled, opening another with macros | Excel Programming |