Sometimes we setup Excel worksheets so that they flow logically on the screen. Often times they're set up like you would read a book, top to bottom, left to right, but this isn't always the best setup for printing. Suppose you have a spreadsheet with detailed information in the first 50 rows, and then a summary in the next 10. There could be times where you don't care to … [Read more...]
How to Create a Calendar in Excel
It's always useful to have a calendar in Excel. Having one lets you save it on a shared network drive, so everyone involved in a particular project knows what's going on and important dates coming up. Creating a calendar in Excel can be a tedious task if done manually. Thankfully, using the Visual Basic Editor, you can easily create a calendar in Excel. By creating a simple … [Read more...]
Random Numbers in Excel
Sometimes it is useful to be able to generate random numbers in Excel that are limited to a certain range. Maybe you have an "employee of the month" contest and you just can't pick one. Assign a number to each employee, enter the first and last numbers and run the macro. And who said decision making was difficult! Or, on the serious side you could be doing some testing … [Read more...]
Run Macro Automatically on Open
Insert your macro code into a module, start with Sub Auto_Open(). Enter whatever commands you wish to have executed on opening the file and end with End Sub. This will make Excel run macro on open and is the quickest way to run a macro automatically on opening an excel workbook. Excel Run Macro on Open To automatically run a macro when you open excel, follow these simple … [Read more...]
Remove Hyperlinks
Whenever copying a list into Excel from the internet, you run the risk of pasting in unwanted hyperlinks. Sure, you could paste special as text, but sometimes it's format was just fine the way it was. With this macro, just select all the cells with hyperlinks (even those without hyperlinks are ok to be selected) and run the macro. In a couple seconds all links are gone and your … [Read more...]