Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Oct 2001
    Location
    Illinois
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bogus 'Data Consolidation' warning on HTML Save (9

    When I use the 'Save As Web Page' menu option, I get the following message:

    "The following features from your workbook will not be saved in the HTML file: Data consolidation. Do you want to continue saving in HTML?"

    I've read all the help text and KB articles I can find and I can't figure out why this message is appearing -- the spreadsheet is as plain and simple as possible. If I click 'OK', the HTML gets generated correctly. Unfortunately, the irritation factor of the message is preventing rollout of the application to end-users (and is making the 'hands-off, VB-driven' version completely unworkable.

    TIA

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Bogus 'Data Consolidation' warning on HTML Save (9

    If you open a brand-new file and save as HTML do you get the message?

    If you do not, I would assume that you have some "data consolidation" somewhere in the file. Unfortunately I can test this since I use XL97 which does not have a save as HTML option.

    Steve

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Bogus 'Data Consolidation' warning on HTML Save (9

    I agree with Steve. You could test this by entering

    ?UBound(ActiveSheet.ConsolidationSources)

    in the Immediates Window (Alt-F11, CtrlG if Immediates Window not visible), then select each sheet, click in the above line in the Immediates Window and press Enter; if you get a return of 1 or higher, you have a Data Consolidation function active on the sheet.
    -John ... I float in liquid gardens
    UTC -7ąDS

  4. #4
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Bogus 'Data Consolidation' warning on HTML Save (9

    To expand on John's suggestion you can use this routine and it tell you what sheet has consolidation on it.

    <pre>Option Explicit
    Sub CheckConsolidation()
    Dim wks As Worksheet
    Dim sMsg As String
    sMsg = ""
    For Each wks In Worksheets
    If Not IsEmpty(wks.ConsolidationSources) Then _
    sMsg = sMsg & vbCrLf & wks.Name
    Next
    If sMsg <> "" Then
    sMsg = "Consolidation found on:" & vbCrLf & sMsg
    Else
    sMsg = "Workbook is consolidation-free"
    End If
    MsgBox sMsg
    End Sub</pre>


    Thanks, John. I was unaware of the consolidationsources property before you pointed it out!

    Steve

Posting Permissions

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