Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to cancel the Edit status
I use VC6 to write test data into excel file. The _Application, Workbooks,
_Workbook,Sheets and _Worksheet are initialized when program start, and test result can be writen correctly. But when user double click one Cell on active sheet, this Cell will be in edit stauts, the GetRange function will cause program crash. Range myrange; myrange = workSheet.GetRange(COleVariant(strLine),COleVarian t(strLine)); I try to use the SendKeys function to send "ESC", still couldn't change foucs. Kindly help how can I cancel the Edit status or How to disable the Edit funtion. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Edit Links - Status Unknown | Links and Linking in Excel | |||
excel status bar says "double-click to edit PBrush" | Excel Worksheet Functions | |||
status bar says "double-click to edit pbrush" | Excel Discussion (Misc queries) | |||
How to use Excel VBA to cancel Excel readonly status | Excel Programming | |||
Cancel Macro is user selects 'cancel' at save menu | Excel Programming |