Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
Sub SettheTotalCells() Dim oTbl As Table Dim rw As Row Dim cl As Cell Dim Col As Column Dim J As Integer Dim iTableNum As Integer For J = 1 To ActiveDocument.Tables.Count Set oTbl = ActiveDocument.Tables(J) oTbl.Select If Selection.Bookmarks.Exists("TotalFee") Then iTableNum = J Exit For End If Next J Set oTbl = ActiveDocument.Tables(J) ActiveDocument.Bookmarks("TotalFee").Range.Select Set cl = Selection.Cells(1) cl.Select ' DECLARE ROW AND COLUMN NUMBERS Set rw = oTbl.Rows(cl.RowIndex) Set Col = oTbl.Columns(cl.ColumnIndex) ActiveDocument.Tables(J).Cell(Row:=4, Column:=4).Range.Select 'this works ActiveDocument.Tables(J).Cell(rw, Col).Range.Select 'this doesn't work oTbl.Cell(rw, Col).Range.Select 'this doesn't work Selection.InsertFormula Formula:="=d4+d5", NumberFormat:="#,##0.00;(#,##0.00)" End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.