WebPage Creation Range

gottimd

Well-known Member
Joined
Jul 29, 2002
Messages
501
In my macro, the code is as follows:

Code:
    Range("C24:L205").Select
    Range("L205").Activate
    With ActiveWorkbook.PublishObjects("Gamepreviews_18753")
        .HtmlType = xlHtmlStatic
        .Filename = "C:\Gamepreviews.htm"
        .Publish (False)
        .AutoRepublish = False
    End With
    ChDir "C:\"
    Windows("Rosters.xls").Activate
    ActiveWindow.Close
    Range("C5").Select
End Sub

For some reason the page doesn't pick up rows 202 on. When I originally wrote this code, it only went up to line 202, but I have since added 2 more rows, so I changed the range to include them (to L205). How come it isn't picking them up when it creates the webpage? It still stops at 202. Any ideas?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,202,958
Messages
6,052,785
Members
444,600
Latest member
margr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top