Moonbeam111
Board Regular
- Joined
- Sep 24, 2018
- Messages
- 64
- Office Version
- 365
- 2010
Hello. I have a cell "H27" and in that cell I would like to start off with a string of text using VBA. If that were all it would be easy but that particular cell has a formula in it through a macro that adds +1 repeatably. Here is what I have:
But I get a type mismatch when I run the code and it gets past 1. What am I doing wrong?
VBA Code:
Sheets("Sheet1").Range("H27").Value = "Budget is equal to" & " " & Sheets("Sheet1").Range("H27").Value + 1
But I get a type mismatch when I run the code and it gets past 1. What am I doing wrong?