Results 1 to 6 of 6

Extremely simple macro wont work

Threaded View

  1. #1
    Registered User
    Join Date
    05-10-2006
    Posts
    7

    Extremely simple macro wont work

    Can anyone please tell me why the following wont work?????

    Private Sub Workbook_Open()
    If Sheet1("B2") = "4" Then Application.Run ("MTEmailer")
    End Sub

    Sheet1 contains this:
    - The formulas are in column B
    1 Todays Date: =TODAY()
    2 Todays Day: =WEEKDAY(B1,2) <--which is 4

    The MTemailer macro itself works fine but it wont run based on the condition in B2... so simple yet it just wont do it for me.

    Please help!!
    Thanks in advance,
    Tane
    Last edited by tanewha69; 08-30-2006 at 07:22 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1