+ Reply to Thread
Results 1 to 3 of 3

Tabs/sheets not showing

Hybrid View

  1. #1
    Registered User
    Join Date
    03-25-2010
    Location
    Halifax, NS
    MS-Off Ver
    Excel 2007
    Posts
    3

    Tabs/sheets not showing

    I'm writing a program on an IBM mainframe using Cobol to create a file that will be a fully formated excel spreadsheet with 12 tabs/sheets. All data is supposed to be formated as are the cells. The problem is, when I try to open it, I only get one tab/sheet with the name being that of the file itself, and all of the data is listed on the single sheet. However, if I make a slight change in the code, I get all of the tabs/sheets, but absolutely no data and an error saying "unknown".

    This code gives me just one sheet wtih all data on it:

    <html xmlns:o=3D"urn:schemas-microsoft-com:office:office"
    xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:x=3D"urn:schemas-microsoft-com:office:excel"
    xmlns=3D"http://www.w3.org/TR/REC-html40">



    This code gives me all 12 sheets with no data:

    <html xmlns:o=3D"urn:schemas-microsoft-com:office:office"
    xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns=3D"http://www.w3.org/TR/REC-html40">


    I can clearly see that the 3D on the third line is the difference. What I'm wondering is how to get around this so I can see all of the data on the 12 designated sheets.

    Has anyone ever seen this before or have any idea how to get around this?

    Thanks in advance.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Tabs/sheets not showing

    That's not VBA code
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    03-25-2010
    Location
    Halifax, NS
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Tabs/sheets not showing

    I understand it is not VB code. If you take an excel spreadsheet and do a save as and select other formats, then set the type to Single File Web Page (.mht), it will allow you to see the back end code for the spreadsheet. This is where this code comes from.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1