Question

  Asked: Apr 28 2008   11:48 PM GMT
  Asked by: Rv4949


Saving form calculations to tables


Microsoft Excel, Visual Basic for Applications, VBA

I have a simple calculation on the input form a-b. It is calculated on the form but I cannot figure how to save it to the table

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



If you're talking about an Excel macro in VBA, the code would be something like:
ActiveWorkbook.Sheets(sheetID).Cells(rowNum, columnNum) = calculationResult


(Where the italic bits you'll need to change as appropriate for your worksheet and script.)
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Microsoft Windows and Development.

Looking for relevant Microsoft Windows Whitepapers? Visit the SearchWinIT.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register