Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have just upgraded to Windows 7 running excel 2007.
Previously I was running XP, again with excel 2007. The publishing Macro that worked with no problems on XP is now falling over on Windows 7. The error that I am getting is: “Run-time error ‘1004’: The specified dimension is not valid for the current chart type.” When trying to execute the following VBA: ============================================ With ActiveWorkbook.PublishObjects.Add(xlSourceRange, myfilename, mysheet, mypublish, xlHtmlStatic, mysheet, "") .publish (True) .AutoRepublish = False End With ============================================ 'mysheet' is a normal worksheet name 'mypublish' is a defined range name which contains one or more charts Has anyone any idea wheat is going on or how I can fix it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel.exe has generated errors and will be shutdown by windows | Excel Discussion (Misc queries) | |||
Macro Errors | Excel Programming | |||
Errors Opening Excel 2000 files in Windows 98 previously saved in | Excel Discussion (Misc queries) | |||
EXCEL.exe has created errors and will be closed by Windows. | Excel Programming | |||
Altered formatting after upgrading Windows 98 to 2000 | Excel Programming |