ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Putting zero value within a specified range, help please... (https://www.excelbanter.com/excel-programming/405666-putting-zero-value-within-specified-range-help-please.html)

jhong

Putting zero value within a specified range, help please...
 
Hi,


I have a macro that loops and stops until cells = 0 condition is meet.
Everytime i run this macro i do manually input zero to the range where
macro will run. My question is, can i create a macro that will put
zero to a specified range?


Thanks in advance!!


jhong


Don Guillett

Putting zero value within a specified range, help please...
 
range(inputbox("enter cell address ie: c21"))=0
However, there is probably a better way. Post your macro
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"jhong" wrote in message
...
Hi,


I have a macro that loops and stops until cells = 0 condition is meet.
Everytime i run this macro i do manually input zero to the range where
macro will run. My question is, can i create a macro that will put
zero to a specified range?


Thanks in advance!!


jhong




All times are GMT +1. The time now is 10:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com