K
King
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.
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.