Excel2Latex stopped working after a day

Bug #1224878 reported by simon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Excel2LaTeX
Fix Released
Undecided
Unassigned

Bug Description

Hi, I have been using Excel2Latex on my PC for a while, however without changing anything, it just suddenly stopped working.

I have attached my excel file which I want to convert to latex table. After I highlight the entire cell contents, then click on "Convert table to LaTeX" I get the following error:

Run-time error '1004':

Application-defined or object-defined error

I then click on debug and it leads me to the following VBA code:

Private Function GetDefaultFileName()
    Dim sName As String
    On Error Resume Next
    sName = ActiveSheet.Name
    sName = RangeToUse.Name.Name
    On Error GoTo 0
    GetDefaultFileName = Printf("%1.tex", sName)
End Function

with this line "sName = RangeToUse.Name.Name" highlighted in yellow.

I am using Excel 2010 and v3.3 of Excel2LaTeX. I am using windows XP and I have placed the Excel2LaTeX addin file in the microsoft addin folder. The addin was working fine a few days ago however it just suddenly stopped working, it gives me the same error on every excel file I try.

Many thanks in advance.

Revision history for this message
simon (simo-piano) wrote :
  • datafile Edit (544.7 KiB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
Revision history for this message
Kirill Müller (krlmlr) wrote :

Could this be a duplicate of #1034141? For a resolution, see my comment #11 in that issue. Does this work for you?

https://bugs.launchpad.net/excel2latex/+bug/1034141/comments/11

Revision history for this message
simon (simo-piano) wrote :

Thanks Kirill! That fixed it :)

Kirill Müller (krlmlr)
Changed in excel2latex:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.