Hello,
Each month I need to update our monthly budget. To do this, I need to hard code the old budget and then only update the most current month. I don't want to hard code summations of total expenses/margins/etc, only the actual financial data that goes into those summations.
Here is my scenario
This gives me an error; I tried range instead of selection and it kind of hung...
Would love any help!
Thanks!
Each month I need to update our monthly budget. To do this, I need to hard code the old budget and then only update the most current month. I don't want to hard code summations of total expenses/margins/etc, only the actual financial data that goes into those summations.
Here is my scenario
- 5 tabs (call them A, B, C, D, E)
- Each tab is annual financials by month in the same format (each tab represents a different location in a company)
- There is a column for financials and % of sales for each month, then a quarterly summary at the end of each quarter.
- Each row is either a line of financial data, or a summation of lines above it
I need to loop through each tab (A-E), hardcode all cells for financial data (see range below for one month), but not the summations....
In other words, I have non contiguous cells in 12 non contiguous columns on 5 tabs that I need to hardcode all at the same time.
I tried this code (code for one column's worth of data):
Range("H7,H11:H16,H18:H19,H25:H30,H32:H41,H43:H47,H55:H71,H75:H79").Select
With ActiveSheet.Selection
.Value = .Value
End With
This gives me an error; I tried range instead of selection and it kind of hung...
Would love any help!
Thanks!