Question : Out of memory or system resources. Close some windows or programs and try again

I have a windows 2003 server running in terminal services application mode with office 2003 installed  The server has 2 CPU's and 4GB of physical memory. Users are intermittently experiencing the error message Out of memory or system resources. Close some windows or programs and try again. They are opening an MS Access database to view a record, then are selecting Send to Mail Receiptent as attachment abd are selecting  rich text format. I have checked memory usuage, CPU and paging and never see the system low on resources. Once one user receives the error, everyone else receives it till the server is rebooted. I have renamed all extend.dat,outcmd.dat,frmcache.dat,views.dat files in the users profiles. I searched thru EE and havent found anything really close to this issue. I checked to make Outlook Express was not set as default mapi. We have a test server with the same setup and cant duplicate it.

Thanks

Answer : Out of memory or system resources. Close some windows or programs and try again

Paul, please try this:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Sub BajanPaul()
Dim lastRow As Long, i As Long
Application.ScreenUpdating = False
lastRow = ActiveSheet.UsedRange.Rows.Count
For i = lastRow To 6 Step -1
    If Not IsNull(Rows(i).Text) And IsNull(Rows(i - 1).Text) And Not IsNull(Rows(i - 2).Text) And _
        Not IsNull(Rows(i - 3).Text) And Not IsNull(Rows(i - 4).Text) And Not IsNull(Rows(i - 5).Text) Then
                        Range(Rows(i - 5), Rows(i)).Delete
            i = i - 5
    End If
Next
Application.ScreenUpdating = True
End Sub
Random Solutions  
 
programming4us programming4us