Excel 2003 Sp2版本, BC3比较excel 出现问题

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChelseaChen
    Visitor
    • Jun 2008
    • 3

    Excel 2003 Sp2版本, BC3比较excel 出现问题

    问题现象:
    例如Excel有3个Sheet, 比较结果总是比较了3次(因为3个sheet), 但每次导出的csv都是第一个sheet的结果

    好象是XLS_to_CSV.vbs中.SaveAs sTmpName, xlCSV总是导第一个Sheet导致的

    请问如何解决 :)
  • Aaron
    Team Scooter
    • Oct 2007
    • 16017

    #2
    The newest versions of BC2 and the MSExcel additional rule should show all the sheets, with a seperator between them.

    BC3 public beta does not currently support multiple sheets. Instead, it will open the last opened sheet. As a workaround, you can open the .XLS in Excel, select Sheet 2, then Save, then Close Excel.
    Then Opening in BC3 will show Sheet 2.

    http://translate.google.com/translate_t
    最新版本的bc2和msexcel额外的规则应显示所有的床单,与它们之间的分离器。

    bc3公开测试版,目前不支持多个工作表。相反,它会打开最后打开表。作为一种替代方法,您可以打开。的x ls在Excel中,选择第2页,然后将其保存,然后关闭Excel 。
    然后开放在bc3将显示第2页。
    Aaron P Scooter Software

    Comment

    • ChelseaChen
      Visitor
      • Jun 2008
      • 3

      #3
      问题仍然存在

      XLS_to_CSV_Single.vbs是不支持多个Sheet比较, 但用XLS_to_CSV.vbs应该是支持多个Sheet的, 在BC2中xls2csv.vbs, 这些都有以上我反馈的问题, 我觉得可能是Excel2003的问题

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16017

        #4
        Another Option: Use Text Compare instead of Data Compare.

        Go to the Tools menu -> File Formats -> click the blue link in the lower left "Additional File Formats"
        http://www.scootersoftware.com/v3formats

        Go down to the bottom and download "Microsoft Excel workbooks"

        If "MS Excel Workbooks" for Text Compare is above "MS Excel Workbooks" for Data Compare in the File Formats menu, then it will be used automatically.

        http://translate.google.com/translate_t

        另一种选择:使用文字比较,而不是数据比较。

        去工具菜单上-> “的文件格式- >”按一下蓝色的链接在左下角的“额外的文件格式”
        http://www.scootersoftware.com/v3formats

        下降到底部并下载“ Microsoft Excel工作簿”

        如果“以MS Excel工作簿”的文本比较,是上述“ MS Excel的工作簿”的数据比较,在档案格式菜单,然后它将被用于自动。
        Aaron P Scooter Software

        Comment

        • ChelseaChen
          Visitor
          • Jun 2008
          • 3

          #5
          问题还是存在, 我是这样修改的

          .Sheets(I).Activate

          修改为

          .Sheets(I).Move .Sheets(1)
          ActiveWorkbook.Sheets(1).Activate

          还有一个问题:
          不支持隐藏页的比较, 添加

          if .Sheets(I).Visible = True then

          进行处理

          Comment

          Working...