Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is probably very simple But Im going nutz trying to figure it out. I
have a macro that takes me to a specific cell based on a set of criteria. I just need to add 1 (+1) to the cell that is selected. So.... based on the criteria cell x1 is selected, I need to add 1 to the value currently in x1. It my be x2,x3 and so on, the macro just needs to add 1 to whatever active cell Im at?????? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
If isnumeric(activecell) then activecell.value=activecell.value+1 end if "Robert_NSBG" wrote: This is probably very simple But Im going nutz trying to figure it out. I have a macro that takes me to a specific cell based on a set of criteria. I just need to add 1 (+1) to the cell that is selected. So.... based on the criteria cell x1 is selected, I need to add 1 to the value currently in x1. It my be x2,x3 and so on, the macro just needs to add 1 to whatever active cell Im at?????? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Post YOUR code for comments.
-- Don Guillett Microsoft MVP Excel SalesAid Software "Robert_NSBG" wrote in message ... This is probably very simple But Im going nutz trying to figure it out. I have a macro that takes me to a specific cell based on a set of criteria. I just need to add 1 (+1) to the cell that is selected. So.... based on the criteria cell x1 is selected, I need to add 1 to the value currently in x1. It my be x2,x3 and so on, the macro just needs to add 1 to whatever active cell Im at?????? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
simple macro | Excel Discussion (Misc queries) | |||
Simple macro | Excel Discussion (Misc queries) | |||
Simple (?) Macro | Excel Discussion (Misc queries) | |||
Simple Macro | Excel Discussion (Misc queries) | |||
a simple macro? | Excel Discussion (Misc queries) |