Code Ghost
New Member
- Joined
- Apr 9, 2024
- Messages
- 16
- Office Version
- 2007
- Platform
- Windows
Good morning community!
I have copied and modified the next VBA formula from a YouTube video:
Range("G2").Formula = "F2*0.2"
Range("G2").AutoFill Range("G2:G16")
The formula, of course, works just fine, copying the formula to cell G16.
I modified it as follows:
Sheet3.Range("I3").Formula = "=SUM(Q3:W3)+G3-E3"
Range("I3").AutoFill Range("I3:I100000")
In my wishing imagination, I was hoping this formula would copy the formula from cell I3 down to cell I100000.
However, I get an error 1004 message: This operation requires the merged cells to be identically sized
I am looking at my sheet and I don't have any cells merged.
I'll include an image below.
I could perhaps use some minutes to drag the formula down myself, but it would be nice to know how to do this.
Thank you in advance.
I have copied and modified the next VBA formula from a YouTube video:
Range("G2").Formula = "F2*0.2"
Range("G2").AutoFill Range("G2:G16")
The formula, of course, works just fine, copying the formula to cell G16.
I modified it as follows:
Sheet3.Range("I3").Formula = "=SUM(Q3:W3)+G3-E3"
Range("I3").AutoFill Range("I3:I100000")
In my wishing imagination, I was hoping this formula would copy the formula from cell I3 down to cell I100000.
However, I get an error 1004 message: This operation requires the merged cells to be identically sized
I am looking at my sheet and I don't have any cells merged.
I'll include an image below.
I could perhaps use some minutes to drag the formula down myself, but it would be nice to know how to do this.
Thank you in advance.