Run-time error upon opening excel file

前端 未结 4 742
礼貌的吻别
礼貌的吻别 2021-01-07 00:02

I\'m trying to open excel files in a button_click event. I don\'t encounter any errors with the first four excel files i opened, but as my macro open the fifth

4条回答
  •  时光说笑
    2021-01-07 00:06

    I tried the line of code above with my "corrupted" file. The result was disasterous, (but original was backed up). All Excel worksheets (13) now have text, and All approx 93 pages of VBA code are gone. Styles=17: File size is <2000kb.

    One cell with a changed cell format causes the infamous M/S error text. I don't think this is corrupt, but it may be too much programming for Excel(s).

提交回复
热议问题