Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a worksheet with three columns: account number, debit & credit. For one range of cells I would like to build a macro that if there is an amount in the credit column, to cut it and paste it to the debit column and multiply it by -1. For another range of cells I would like to build a macro that if there is an amount in the debit column, to cut it and paste it to the credit column and multiply it by -1. I hope someone can help me. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
More info would be helpful.
suppose you find an "amount" in cell a6. Do you want it to goto b6 or to the end of the line in col B? Do you want the original "amount" to stay where it was - or to be cut? Mind reading forum is down the road. "Dale Avison" wrote in message ... I have a worksheet with three columns: account number, debit & credit. For one range of cells I would like to build a macro that if there is an amount in the credit column, to cut it and paste it to the debit column and multiply it by -1. For another range of cells I would like to build a macro that if there is an amount in the debit column, to cut it and paste it to the credit column and multiply it by -1. I hope someone can help me. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I would like the amount in column c to move to column b, therefore nothing should be left in column c. Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to build table | Excel Worksheet Functions | |||
Macro to build table | Excel Worksheet Functions | |||
How do I build this Macro? | Excel Discussion (Misc queries) | |||
How do I build a Macro that can identify wooksheet names | Excel Discussion (Misc queries) | |||
Can I build 'goal seek' facility into a macro? | Excel Discussion (Misc queries) |