ManUBlueJay
Active Member
- Joined
- Aug 30, 2012
- Messages
- 326
- Office Version
- 365
- Platform
- Windows
I have been using Named Ranges in VBA for years, but recently it gives me a runtime error when there is a formula in a named range.
If I put the formula Sum (b1:c1) in A1 and refer MyRange to A1 it works fine in VBA. However when I put the formula Sum (b1:c1) directly in to MyRange I get a run time error in VBA yet I can call MyRange in Excel and it will function correctly.
If I put the formula Sum (b1:c1) in A1 and refer MyRange to A1 it works fine in VBA. However when I put the formula Sum (b1:c1) directly in to MyRange I get a run time error in VBA yet I can call MyRange in Excel and it will function correctly.