Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.
All Tags » VBE (RSS)

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Re: Problem using 'IF' in a macro

    Xania Adding to Bob's reply, if you enter Option Explicit At the top of each module, you will be forced to declare all variable (or get an error). This may have guided you in this one. You can force the VBE to add this automatically by setting 'Require variable declaration' under Tools>options...
    Posted to Functions and Formulas (Forum) by Nick Hodge on Thu, Jul 3 2008
  • Re: Add event to new worksheet using VBA

    Hi Anonymous! This is how I would add a new worksheet and attach the "Calulate" event handler (the example shows a message box each time the calculate event is triggered): Private Sub NewSheet_Click() Dim oXl As Application: Set oXl = Application oXl.EnableEvents = False oXl.DisplayAlerts ...
    Posted to VBA (Forum) by Pedro80 on Wed, Jan 9 2008
Page 1 of 1 (2 items)
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.