+ Reply to Thread
Results 1 to 3 of 3

Posting entire sheet as html

  1. #1
    Forum Contributor
    Join Date
    07-24-2012
    Location
    Denver, CO
    MS-Off Ver
    365
    Posts
    230

    Posting entire sheet as html

    I made a macro to post my sheet "PRINT" as an html file which worked perfectly. Then, I updated all of my info in a new sheet called "OVERVIEW". I want to be able to post this sheet as an html file instead of "PRINT" which is outdated. I get error 1004 "Method 'Publish' of object 'PublishObject' failed" I clicked the "help" button but nothing came up. Does anyone know what this means or how to fix my problem?

    Here is my code, any help is appreciated:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Posting entire sheet as html

    Does your wb have active x controls?
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Contributor
    Join Date
    07-24-2012
    Location
    Denver, CO
    MS-Off Ver
    365
    Posts
    230

    Re: Posting entire sheet as html

    Yes, and I read online somewhere else that activating another range first (e.g. "A1") would solve the problem, but I had no luck. I actually just recorded a macro and republished the sheet manually, and for some reason, that now works. I don't know why it wasn't before, but I fixed the problem. Thank you anyways!

+ 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