+ Reply to Thread
Results 1 to 5 of 5

Loop in a macro?

  1. #1
    Registered User
    Join Date
    07-10-2008
    Location
    Texas
    Posts
    12

    Loop in a macro?

    Hi, I've got a small task I need to do. I'd prefer to keep it in a macro if possible, but if some VB is necessary that's ok.

    I've got a cell with a number in it. I've got another cell whose value I need to populate by lining up a number of m's equal tot he value of the first cell. For instance, if A1 has an 8, A2 would need to have mmmmmmmm.

    I know it looks silly. I'm using m's because the cell will be wingdings. m in wingdings is an empty circle, and they will be used as checkboxes.

    Any help would be greatly appreciated. Thanks!

  2. #2
    Registered User
    Join Date
    07-10-2008
    Location
    Texas
    Posts
    12
    Nevermind, I found it.

    REPT(string, number_of_times)

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    How can you use a wngding as a checkbox/ You can't check it, it is only a font.
    Hope that helps.

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

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    07-08-2008
    Location
    New Jersey
    Posts
    52
    I think he means after he prints it out maybe?

  5. #5
    Registered User
    Join Date
    07-10-2008
    Location
    Texas
    Posts
    12
    It's doable, although more trouble than it's worth. You could tie an event to it and change the m (open circle) to an l (closed circle).

    I'm not doing that though. The sheet is meant for printing.

+ 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