In four fonts: Times New Roman, Arial, Courier New, and Comic Sans MS.
Blogger didn’t like the amount of code required to show the list of special characters so please click here to see the lists. They are hosted on our main website.
The professional web & windows development company
In four fonts: Times New Roman, Arial, Courier New, and Comic Sans MS.
Blogger didn’t like the amount of code required to show the list of special characters so please click here to see the lists. They are hosted on our main website.
The code below will, when run, reverse all of the menus and their options within Excel. For example; File will become Elif and Tools will become Sloot. It works on Excel 97 through 2003. Simply run the code again to ‘reverse’ the name back to their original format. It is worth noting that Excel remembers the settings, so you will need to be able to re-run the code.
Sub ReverseMenuText()This code was orinally found on MrExcel.com.
I just came across this Aprils Fools trick while looking through some old code files. Figured as it’s the right time of year I’d post it. Put this code in the ‘ThisWorkbook’ code module, save the file and wait for the users to shout ;)
Private Sub Workbook_Open()Recently I have needed to truncate a decimal value to a set number of decimal places.
For example; If you wanted the number 55.446 to two decimal places rounding the number would return 55.45. Truncating the number to two decimal places returns 55.44.
To do this I created the function below. Pass in a decimal value and the number of decimal places you want the number truncated too and the function returns the value as a ‘Double’.
Public Function TruncTo(dblValue As Double, lngPlaces As Long) As DoubleFollowing on from the code here (Using VBA Speech) the code below is used to make adjust the speaker volume, including turning mute on / off.
Private Declare Sub keybd_event Lib "user32" ( _Again, this requires the PC to a sound card and speakers.
With April Fools day approaching (well, four weeks) I though I’d post a couple of amusing VBA tricks and jokes you could use. The first is using the speech and the CD trey. The code below can be copied straight into a VBA code module.
Declare Sub mciSendStringA Lib "winmm.dll" (ByVal lpstrCommand As String, _This does require the PC to have speakers.