Guzzlr
Well-known Member
- Joined
- Apr 20, 2009
- Messages
- 982
- Office Version
- 2021
- Platform
- Windows
Hello All,
I have the following code. I want to have the word Total in D7 & J16.
I dont like this code because it seems redundant.
How do i use something like an AND statement to select D7 AND J16 to input the word "Total" without having multiple lines?
Thanks for the help
excel 2010
I have the following code. I want to have the word Total in D7 & J16.
I dont like this code because it seems redundant.
How do i use something like an AND statement to select D7 AND J16 to input the word "Total" without having multiple lines?
Thanks for the help
excel 2010
Code:
[INDENT]Range("D7").Select
ActiveCell.FormulaR1C1 = "Total"
Range("J16").Select
ActiveCell.FormulaR1C1 = "Total"[/INDENT]
Last edited: