Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to fix the coding?
Refer to the post under Worksheet
Working with the file E:\dir\file.xls, under the table sheet, cell C3 is 5, and cell C4 is 3. When I run following codes, the MsgBox displays [file.xls]Table!C4 instead of the value from this cell 3. Could anyone give me any suggestions on how to fix it? Thank everyone very much for any suggestions Eric Sub Test x = TheValue("E:\dir", "file.xls", "Table", "C3") y = TheValue("E:\dir", "file.xls", "Table", "C4") If x = y Then MsgBox ("The value was " & y) End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
coding | Excel Discussion (Misc queries) | |||
help with coding in excel | Excel Worksheet Functions | |||
Coding | Excel Discussion (Misc queries) | |||
Coding help request (I think?) | Excel Discussion (Misc queries) | |||
coding | Excel Discussion (Misc queries) |