Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.vb.general.discussion,microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to retieve content of specified (row, column) cell.
Set oExcel = GetObject(, "Excel.Application") ' get existing Excel Object oExcel.Cells(11, 17).Value The above code works fine in Immediate window but in run time creates error: '438': Object doesn't support this property or method" How to retrieve value of the specified cell (Not active) ? |
#2
![]()
Posted to microsoft.public.vb.general.discussion,microsoft.public.excel.programming
|
|||
|
|||
![]()
try
oExcel.ActiveWorkbook.ActiveSheet.Cells(11, 7).Value -- At least one sentence in this post is wrong, but it could be this one (paraphrased). "Jack" <replyto@newsgroup wrote in message ... I am trying to retieve content of specified (row, column) cell. Set oExcel = GetObject(, "Excel.Application") ' get existing Excel Object oExcel.Cells(11, 17).Value The above code works fine in Immediate window but in run time creates error: '438': Object doesn't support this property or method" How to retrieve value of the specified cell (Not active) ? |
#3
![]()
Posted to microsoft.public.vb.general.discussion,microsoft.public.excel.programming
|
|||
|
|||
![]()
Is oExcel.Cells(11,17).Value the whole line or is it something like:
CellValue = oExcel.Cells(11,17).Value If what you typed is the whole line in your program, then I think that is your problem, you need to assign the value to something. Sue "Jack" <replyto@newsgroup wrote in message ... I am trying to retieve content of specified (row, column) cell. Set oExcel = GetObject(, "Excel.Application") ' get existing Excel Object oExcel.Cells(11, 17).Value The above code works fine in Immediate window but in run time creates error: '438': Object doesn't support this property or method" How to retrieve value of the specified cell (Not active) ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I get the coordinates of the active cell in Excel? | Excel Discussion (Misc queries) | |||
Row select mode to highlight active row of active cell | Excel Discussion (Misc queries) | |||
referring to formula in a non active cell from active cell | Excel Discussion (Misc queries) | |||
How do I shade the active cell in excel | Excel Worksheet Functions | |||
Active X Error message | Excel Discussion (Misc queries) |