I have two issues that I would appreciate a lot of help on:
- I have VBA linked to a button which computes values on some cells based on the inputted parameters. I am still a basic user however and could not get it to loop. The intention is for the VBA to continue to calculate until the value in a given cell zero.
Is it possible to have VBA to compute input values only into the cell without inputting the corresponding formula? See a snippet of the code below:
Sub Formular1() ' Formular1
Range("H17").Select Selection.End(xlDown).Select ActiveCell.Offset(1, 0).Range("A1").Select ActiveCell.FormulaR1C1 = "=ROUNDDOWN((RC[-1]-RC[-2])/30,0)" ActiveCell.Select ' Formular2 Macro Range("I17").Select Selection.End(xlDown).Select ActiveCell.Offset(1, 0).Range("A1").Select ActiveCell.FormulaR1C1 = "=RC[-5]/RC[-1]" ActiveCell.Offset(1, 0).Range("A1").Select ' Formular 3 Range("J17").Select Selection.End(xlDown).Select ActiveCell.Offset(1, 0).Range("A1").Select ActiveCell.FormulaR1C1 = "=R4C9" Range("J20").Select End Sub