Quantcast
Channel: Zypher.co.uk | The Blog
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

Compile Error: "Object Library Invalid..."

If you’ve ever come across the ‘Compile Error’ message you’ll know how much fun they can be to correct.  Quite often when this message appears you’ll find yourself faced with the VBE telling you that...

View Article


Image may be NSFW.
Clik here to view.

“Code execution has been interrupted”

Every now and then, while executing macro routines within Excel you may get the error message “code execution has been interrupted”.  This error message should only appear if you hit “Ctrl+Break” to...

View Article


Image may be NSFW.
Clik here to view.

DreamWeaver - while executing onload in _onOpen.htm, the following JavaScript...

 To fix the above error navigate to one of the file address below:Windows XP:C:\Documents and Settings\Administrator\Ap Data\Adobe\Dreamweaver CS5\en_US\Configuration\Vista:C:\Users\[Your...

View Article

Image may be NSFW.
Clik here to view.

Application.Filesearch Replacement For Office 2007

If you have ever used completed a search for files using VBA you probably made use of Application.Filesearch.  However, if you’ve updated to Office 2007 or 2010 you may have noticed that Filesearch has...

View Article

Image may be NSFW.
Clik here to view.

Useful VBA file functions - Microsoft Scripting Runtime

Some example functions for finding out the last modified date of a file, copying a file and deleting a file using VBA.PublicSub File_Last_Modified_Date() ' Use a function to return the last modified...

View Article


Image may be NSFW.
Clik here to view.

Creating and reading data from text files

It is sometimes useful to keep data in a text file.  For example one of our clients has a resource file which has onOpen and onClose routines that log the current user, the date and time and whether...

View Article

Image may be NSFW.
Clik here to view.

Aaron Harrison - New Blog Contributor

Hello World!I have recently been working with Matthew Sims over at zypher.co.uk and was asked if I wanted to contribute on their blog. I thought sure, sounds good and its probably long overdue to give...

View Article

Image may be NSFW.
Clik here to view.

Variables in CSS File (Dynamic CSS)

Problem: Using CSS Variables/Dynamic CSS;Firstly, I am aware that using variables in CSS seems to be topic for many a forum and blogs alike, W3C have not to my knowledge implemented variables in full...

View Article


Image may be NSFW.
Clik here to view.

Using the Microsoft CDN or Google CDN for jQuery

As we develop new websites and try to introduce more user interactivity and animation effects it will become more frequent that we use some kind of JavaScript library. Probably the most popular and...

View Article


Image may be NSFW.
Clik here to view.

It’s been a while

Hi, it’s been a while since anyone has gotten around to posting anything.  We’ve been busy with some work for various clients but hope to post some articles in the coming weeks.  Our aim is to post at...

View Article

Image may be NSFW.
Clik here to view.

Lotus Notes Password Sync

If you are unlucky enough to work for a company that uses Lotus Notes you may, when starting Lotus Notes, receive the message:"Your windows account password does not match your notes password. To...

View Article

Image may be NSFW.
Clik here to view.

Microsoft Excel 2010 and MSCOMCTL.OCX

Recently when working with Excel 2010 and certain userform controls some of my users have received the following error message:"Component 'Mscomctl.ocx' or one of its dependencies not correctly...

View Article

Image may be NSFW.
Clik here to view.

Autofilter on a protected worksheet

You will quite probably have come across this problem already.  You need to protect the data in a worksheet for any number of reasons, but the recipient of the report wants to be able to use...

View Article


Image may be NSFW.
Clik here to view.

Append multiple text files together using the DOS command prompt

If like me you record log files for some of your Excel files or databases you'll know it's not unusual to have a directory full of log files. If you then decide you want to import these into Excel or a...

View Article

Image may be NSFW.
Clik here to view.

Checking odd and even numbers in VBA

It is sometimes useful to be able to check whether a number is odd or even.Below is a very simple VBA function that does exactly that:Function IsOdd(x As Integer) As...

View Article


Image may be NSFW.
Clik here to view.

Screenshots in Excel

This is quite a useful tip. You probably already know how to include an entire screen shot within your Excel worksheet (Press “PrintScreen” and paste the screen shot where you want it with Ctrl+V or...

View Article

Image may be NSFW.
Clik here to view.

Find and replace VBA code using VBA

It is sometimes necessary to update your code, a quick find and replace (Ctrl+H) will often be enough.  I’d also recommend the MZ Tools VBE toolbar, it has a lot to add to your VBA coding experience,...

View Article


Image may be NSFW.
Clik here to view.

Compile Error: "Object Library Invalid..." an UPDATE

I've recently had a reason to go back to this post in June 2011. The article is about EXD files, EXD files cache ActiveX component information making Excel run ever so slightly faster when using them....

View Article

Image may be NSFW.
Clik here to view.

Outlook 2010 Keyboard Shortcut Keys

Below are a few of the shortcut keys I find useful, with a few extras added from a colleague.CTRL+1: Switch to Mail. CTRL+2: Switch to Calendar. CTRL+3: Switch to Contacts. CTRL+4: Switch to Tasks....

View Article

Image may be NSFW.
Clik here to view.

MemoryUsed Property

I'd never come across this before and it doesn't appear in the IntelliSense drop-down, but it is quite a neat way of monitoring the current workbook size.Per the MSDN page here:This example displays a...

View Article

Image may be NSFW.
Clik here to view.

Clear DNS cache

The ipconfig /flushdns command allow you to flush and reset the contents of the DNS client resolver cache. During DNS troubleshooting, if necessary, you can use this procedure to discard negative cache...

View Article


Image may be NSFW.
Clik here to view.

Pasting formulas between workbooks without workbook link

Have you ever needed to copy and paste a range of cells containing formula, each referencing cells in other worksheets, from one workbook to another ?  When you copy the formula across workbooks,...

View Article


Image may be NSFW.
Clik here to view.

Calculate percentages with decimals in SQL?

Working with SQL Server recently I needed to calculate a percentage using values in other fields.  I went with the obvious field1 / field2 * 100 but got only a result of zero ?After talking to...

View Article

Image may be NSFW.
Clik here to view.

Converting an Excel date into PHP timestamp

I was recently asked by a customer to upload a large dataset extracted from their old Microsoft Office based database system into their shiny new web-based application (Built by the guys at Zypher).The...

View Article

Image may be NSFW.
Clik here to view.

SQL–Overloading !

I came across this recently while considering the best way to create a function to deal with a SQL statement that could accept a varying number of parameters.SELECT * FROM YourTable WHERE TableId = 2...

View Article

Browsing latest articles
Browse All 25 View Live