+ Reply to Thread
Results 1 to 2 of 2

macro programing help

Hybrid View

  1. #1
    Registered User
    Join Date
    04-26-2012
    Location
    palmer, alaska
    MS-Off Ver
    Excel 2010
    Posts
    1

    Post macro programing help

    ive got a project to do using macro programming but i cant seem to figure out looping.

    the problem is to enter a 4 character number (i.e. 8075) and to get the macro to return a number. so with the number 8075 the returned number should be 3 because there is 3 circles. 2 in the number 8 and 1 in the number 0. so for 5071 it would return a 1 because there is only one circle in the number.

    i can get it return a number if i only enter 1 number using the if-then stantment.
    plz help and show codes if entered if possible! in need of help.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,953

    Re: macro programing help

    Please read and adhere to these simple rules!

    1. Use concise, accurate thread titles. Your post title should 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 the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

    Google macro programing help
    and you get: About 580,000 results (0.28 seconds)
    Ben Van Johnson

+ 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