+ Reply to Thread
Results 1 to 3 of 3

Help with Control Macro

  1. #1
    Registered User
    Join Date
    03-22-2010
    Location
    USA, Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    1

    Help with Control Macro

    I have never EVER wrote a macro but I wanted to email the current workbook by clicking on a control button. When I click on it it does not work but if I go into the VB editor and hit run. it give an error (compile error, expected end sub). I know its got to be something simple because I got it to run it once. . Here is the code assigned to the button
    Please Login or Register  to view this content.
    Any help would be appreciated...Thanks in advance
    Last edited by royUK; 03-22-2010 at 04:29 PM. Reason: add code tags

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help with Control Macro

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help with Control Macro

    Code tags added,I suggest that you attach the workbook

+ Reply to Thread

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