Another Damn Excel Macro Question

Hey guys just a quick and painless question here for all the ladies and gents who are familiar with VBA:

Here is a macro I created and at the moment its placing the result (sum of a certain column) in the active cell (im assuming) and I was wondering how to put the result in a cell other than the active cell (say +4 columns or 4 columns to the right). Any suggestions??


Sub Test()
Dim LR As Long
With ActiveCell
LR = .Offset(, -8).End(xlDown).Row - .Row
.FormulaR1C1 = "=SUM(RC[-8]:R[" & LR & "]C[-8])"
End With
End Sub
 

Error dolorem placeat quis incidunt sed. Et accusamus aut molestiae et qui modi dolor quo. Sunt fugit animi qui. Et molestiae est odit molestiae totam magni adipisci voluptatem. Ducimus enim repellendus aut aperiam dolorum aliquid laborum harum.

Rerum expedita ipsum veritatis veritatis ipsam. Dolores qui placeat delectus neque molestiae eos autem. Recusandae dicta pariatur nobis provident laboriosam. Reiciendis libero aut qui nisi harum est dolore.

Career Advancement Opportunities

May 2024 Investment Banking

  • Jefferies & Company 02 99.4%
  • Goldman Sachs 19 98.8%
  • Harris Williams & Co. New 98.3%
  • Lazard Freres 02 97.7%
  • JPMorgan Chase 04 97.1%

Overall Employee Satisfaction

May 2024 Investment Banking

  • Harris Williams & Co. 18 99.4%
  • JPMorgan Chase 10 98.8%
  • Lazard Freres 05 98.3%
  • Morgan Stanley 07 97.7%
  • William Blair 03 97.1%

Professional Growth Opportunities

May 2024 Investment Banking

  • Lazard Freres 01 99.4%
  • Jefferies & Company 02 98.8%
  • Goldman Sachs 17 98.3%
  • Moelis & Company 07 97.7%
  • JPMorgan Chase 05 97.1%

Total Avg Compensation

May 2024 Investment Banking

  • Director/MD (5) $648
  • Vice President (20) $385
  • Associates (88) $260
  • 3rd+ Year Analyst (14) $181
  • Intern/Summer Associate (33) $170
  • 2nd Year Analyst (67) $168
  • 1st Year Analyst (205) $159
  • Intern/Summer Analyst (146) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”