Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am getting the error "Object Variable or With Block Variable not set" when I try to execute following VBA code. Dim a As Excel.Application Dim wb As Workbook For Each wb In a.Workbooks wb.Save Next wb Please let me know what is the problem Thanks, suraj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why "object variable or with block variable not set" error? | Excel Programming | |||
"Object Variable or With Block Variable Not Set" error help request | Excel Programming | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
"Run-time error 91: Object variable or With block not set" | Excel Programming | |||
Ogilvy Help :) - "Object variable or With block variable not set" | Excel Programming |