Hi,
Goto VBA in OL (Alt+F11) and Insert->Module to add a new module then copy & paste the following code into this new module:
'----Code Start----
Sub SetCategory()
Dim olMail As MailItem
If Application.ActiveExplorer.Selection.Count = 1 And _...
Hi,
If you enter only one single quote before entering your real data then excel cell will see that you are entering a "text" by ignoring the real data type.
So if you enter '1255 in a cell then excell will see that you are entering 1255 as string and remove ' from the beginning...
You can set listindex property to -1 when listbox clicked.
Private Sub List1_Click()
List1.ListIndex = -1
End Sub
I hope this helps.
Regards Oz
www.TheOfficeExperts.com
....
Windows(file).Activate
ActiveWorkbook.Close (False)
err:
RESUME NEXT
Next i
....
And also put On Error line before Loop
Regards Oz
www.TheOfficeExperts.com
If you are using ADO then I suggest reading this article and re-installing MDAC.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q255986
Actually when I got this error it was about a reserved word I used as field name in my sql connection string and fixed after changing it but I also...
First, you can still protect your cells. Just select your changable cells (which macro modifies) and click Format Cells then click Protection tab and clear the Locked checkbox.
Now Protect your worksheet.
And for Tab order for this unprotected cells open the VBA and select the Sheet1 object in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.