Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter formula sum(range+range)*0.15 sumif(range=3) | Excel Discussion (Misc queries) | |||
conditional formula: sum a range if text present in another range | Excel Discussion (Misc queries) | |||
formula to sort a range so that it matches the exact rows of a column that is outside that range? | Excel Discussion (Misc queries) | |||
Macro to input formula in range based on another range | Excel Programming | |||
Range.Formula and Range question using Excel Automation | Excel Programming |