Excel macro help using a forloop -


I am trying to learn macros in Excel. I have worked on the edge edges (if we put other equations in the statements and cells) and now I need help with loops. I have a macro which is a cell in the following

cell (2 , 31) Enter. Formula = "= (iftext (E2)," "yes" "," "no" ")

I need to basically insert this equation directly into 50 cells, I would like to use the loop to do. Can someone help with this, I can not seem to do this work. Category should be from E2 to E50.

Thank you!

Just loop lines through all:

  dim row line = 2 50 Cells From (Punk Formula = "= = (iftext (e" and "line"), "if you use a formula in r1c1 format, you can do this without a loop Because the R1C1 formula is the same as the line you are on:  
  range (cell (2, 31), cell (50, 31)). Formula 1 c 1 _ = "= (Iftex (rc5)," "yes" "," "no" ")"    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -