+ Reply to Thread
Results 1 to 2 of 2

Create A Macro Within VBA Module

  1. #1
    Registered User
    Join Date
    01-18-2011
    Location
    Greenwood Canada
    MS-Off Ver
    Excel 2010
    Posts
    24

    Create A Macro Within VBA Module

    Hello

    I am having a problem creating a macro to perform a calculation within a work sheet.

    What I would like to do is have any active cell within the work sheet perform the calculation of: divide by 1.15.
    I can perform the calculation using any number as per example divide by 100, 45, or any number that has not a decimal point.

    When I using a decimal point with the number I receive a error message from the VBA module.

    Thank you.
    Last edited by angushiro; 02-24-2011 at 02:30 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VBa

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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