Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For some reason when I execute my macro, my formulas which include text
won't update unless I select the cell and then click in the formula bar and then hit enter. It was suggested by someone here to therefore create a macro that will re-install the formulas. Is there a way to write code to install a formula like this for several cells : =COUNTIF(A$2:A$374,"RM01"). The only thing that changes in the formula is the text. For each cell the text changes by a value of 1. For example: =COUNTIF(A$2:A$374,"RM02") =COUNTIF(A$2:A$374,"RM03") =COUNTIF(A$2:A$374,"RM04").........and so on. Is there some kind of loop or something I can use to make writing this code less tedious??? Thanks and Happy new year. --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula is changing to text when I hit enter | Excel Discussion (Misc queries) | |||
how to enter a formula in a text box | Excel Worksheet Functions | |||
Using a macro to enter a formula | Excel Worksheet Functions | |||
Enter Static Date with a formula or macro | Excel Discussion (Misc queries) | |||
Can you enter a formula in a cell to run a macro? | Excel Worksheet Functions |