
|
Book Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word Host your Web site with PureHost! |
![]() Tuesday, September 23, 2008 – Permalink – List All FilesAll files in a folderHere is a macro that will produce a list of all the files in a selected folder.
Labels: Macros <Doug Klippert@ 3:20 AM
Comments:
Post a Comment
Thursday, September 04, 2008 – Permalink – Running Total in CommentCircular solutionYou can't have a worksheet formula that looks like this: =C3+C3 But you can do something similar if you use VBA and store the results in another location. "In Microsoft Excel you can avoid circular references when you create a running total by storing the result in a non-calculating part of a worksheet. This article contains a sample Microsoft Visual Basic for Applications procedure that does this by storing a running total in a cell comment."
<Doug Klippert@ 12:06 PM
Comments:
Post a Comment
Wednesday, August 13, 2008 – Permalink – Value of Cell in Headeror FooterThe header and footer cannot contain a link to a cell. You can create and run a macro that will put the value of a cell into a footer or header. You could run this macro each time the contents of the specified cell changes. Or use it as an Event code: OzGrid.com: Information from a cell in a worksheet
Excel Basics: Setup Header/Footer
<Doug Klippert@ 4:27 AM
Comments:
Post a Comment
Saturday, July 19, 2008 – Permalink – Run a Macro from CellHow to do the impossible (almost)There are times when it might be nice to run a macro from a cell function. Something like : if a cell has a certain value, a macro will run: =IF(A1>10,Macro1) You can not initiate a macro from a worksheet cell function. However, you can use the worksheet's Change event to do something like this:
Also see: After posting this, Ross Mclean of Methodsinexcel.co.uk came up with a great work around using a User Defined Function. You can see the simple coding here: Running a macro from a cell. Public Function RMAC _ when invoked by this worksheet formula: =rmac("MyMacro","yada")runs the sub MyMacro with some modification. The Beep is executed, the cell color change is not. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services Tutorials and Custom Solutions http://PeltierTech.com/ See all Topics excel <Doug Klippert@ 2:09 AM
Comments:
Post a Comment
Friday, July 18, 2008 – Permalink – Signing MacrosSecurity levelsThere are three levels of Macro security:
"If you've used Access 2003, you've probably seen several security warning messages - Access 2003 cares about your security. An important part of Access 2003 security is digitally signing your code. As Rick Dobson shows, you can do it, but preparing for digital signing is critical. Also: Other links: <Doug Klippert@ 5:00 AM
Comments:
Post a Comment
Tuesday, June 17, 2008 – Permalink – PrintingMacro controlHere are some useful macros concerning Excel and printing. They were written by Ole P. Erlandsen of: ERLANDSEN DATA CONSULTING
See all Topics excel <Doug Klippert@ 5:25 AM
Comments:
Post a Comment
Wednesday, September 19, 2007 – Permalink – Clippy's Revenge pre-2007Roll your own OA
If you want to play with it, see John Walkenbach's Create A Fake Clippy Programming the Office Assistant
With Assistant Here are a few of the actions:
See all Topics excel <Doug Klippert@ 7:45 AM
Comments:
Post a Comment
Friday, August 03, 2007 – Permalink – Undo ExcelLevel talkIn Excel 2007. the number of levels of the "undo stack" was increased from 16 levels to 100. Setting AutoFilters, showing/hiding detail in PivotTables, and grouping/ungrouping in PivotTables are now reversable. And the undo stack is not cleared when Excel saves, be it an AutoSave or a Save by the user. If you think the number of undos should be changed, here's how:
![]() Modify the number of undo levels If you want to clear the undo stack, just run a macro such as: Sub ClearUndo() Allen Wyatt: Clearing the Undo stack See all Topics excel <Doug Klippert@ 6:36 AM
Comments:
Post a Comment
Saturday, March 31, 2007 – Permalink – Comment CodeEdit toolbar
<Doug Klippert@ 7:06 AM
Comments:
Post a Comment
Saturday, March 24, 2007 – Permalink – Splash ScreensA nice sparkleAfter working hours to perfect an Excel project, the last little piece that adds a touch of class, is a splash screen. Here are the instructions to construct this type of user form including a workbook that you can download: Userform - Splash screens Ivan F Moala administers this interesting site called The Xcel Files See all Topics excel <Doug Klippert@ 5:26 AM
Comments:
Post a Comment
Friday, February 16, 2007 – Permalink – Progress GaugeDon't go awayIf your macro is going to take a bit of time to complete, it is good manners to inform your users what is going on. If screen updating is turned off, they may think their machine has frozen. Andy Pope has some great charting examples and also demonstrates a number of Progress meters Here's a static example: John Walkenbach, also, has tips about how to create a Progress indicator also see: Chip Pearson Dick Kusleika See all Topics excel <Doug Klippert@ 6:35 AM
Comments:
Post a Comment
|