Results 1 to 4 of 4

VBA Form code using DO while Loop to print a message.

Threaded View

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    Washington, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    VBA Form code using DO while Loop to print a message.

    I'm currently trying to use a Do While loop to print a certain message the number of times entered in a text box but it keeps printing the amount I enter plus 1. Example I enter 4 in the test box and it prints the message 5 times.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA. identify unique values, loop them, filter them in, set print area & print it
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2012, 09:56 PM
  2. Update code for Print function on Form in Visual Basic
    By TheDude001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-16-2011, 09:28 AM
  3. print form code problem
    By shankar.nstl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2011, 01:17 AM
  4. VBA code to print with a loop
    By Ang12345 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2010, 12:04 PM
  5. 'Loop without do' error message (code inside)
    By Jeroen1000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2009, 07:16 AM

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