![]() |
VBA Range.Formula
Hello,
I have a problem with below VBA code to read the cells formula into VBA Dim objSheet As Excel.Worksheet Set objSheet = ThisWorkbook.Sheets("Master") Dim varSheetData As Variant varSheetData = objSheet.Range("A9:FB820").Formula when above line is execute, a error 1004 Application-defined or object-defined error was occur but if the code change to read cells value varSheetData = objSheet.Range("A9:FB820").Value its ok and give me a array contain all the data... is there anything I was missing or it just not supported?? Thanks, King. |
All times are GMT +1. The time now is 12:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com