#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Very Simple Macro

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Very Simple Macro

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??????

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple macro widman Excel Discussion (Misc queries) 7 June 7th 08 08:57 PM
Simple macro MikeD1224 Excel Discussion (Misc queries) 1 June 9th 07 12:06 AM
Simple (?) Macro NeedHelp Excel Discussion (Misc queries) 3 January 21st 07 10:39 PM
Simple Macro sparx Excel Discussion (Misc queries) 4 May 12th 06 06:25 AM
a simple macro? asalerno Excel Discussion (Misc queries) 2 April 28th 06 12:45 AM


All times are GMT +1. The time now is 04:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"