Thread: Buffer Overflow
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Zone[_3_] Zone[_3_] is offline
external usenet poster
 
Posts: 373
Default Buffer Overflow

The macro runs fine for me in Excel 2003 with Windows XP. Just a hunch, try
it with a new, empty workbook. James

"Boboz" wrote in message
...
What should I do to stop my macro from crashing out with a buffer
overflow? I
find that even the following simple macro will generate one:

Sub Macro1()
ActiveWorkbook.Colors(11) = RGB(0, 85, 163)
End Sub

I am running Office 2003 under XP, but I get the same with Office 2000
under
Vista