Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
access violation 0cx0000005 in vba excel
Dear recipient: I have this error access violatio 0cx0000005 to open file excel, generate this file in code vba.Don't have idea where is the error. I have a next code fragment For p = 0 To num_pems - 1 Workbooks(libro_paquete).Activate Sheets("MFisicas " & pems(p)).Select MsgBox "pem i" & pems(p) Sheets("MFisicas " & pems(p)).Delete Next Application.DisplayAlerts = True Workbooks(libro_paquete).Save Workbooks(libro_paquete).Close if elimite the sentence for to open file correct. Can you help me please? Regards ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel sharing violation | Excel Discussion (Misc queries) | |||
sharing violation when using excel 2007 | Excel Discussion (Misc queries) | |||
Excel 97 Access Violation! | Excel Discussion (Misc queries) | |||
Microsoft][ODBC SQL Server Driver]Syntax error or access violation | Excel Discussion (Misc queries) | |||
EXCEL automation ACCESS VIOLATION vb | Excel Programming |