+ Reply to Thread
Results 1 to 1 of 1

Outlook -VBA - Open a template based on # entered using an pop up field

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    51

    Outlook -VBA - Open a template based on # entered using an pop up field

    Hello,
    I'm struggling to find the correct code/language to use an input box to capture the number of times I need a certain template opened. I have to send out instructions in an email when individuals are approved to attend. I have a template called Step1.

    I would like to click on my macro and have an input box pop up asking me how many copies of the template I need, 1 to 60, 1 being a default. If I select 10 then 10 copies of the outlook template open up on my desktop ready for me to add the name and email (manually) to each one, then manually send it.

    Attached is my code.

    I got the input box to pop up and when I enter a 1 it opens 1 version of the template. GREAT! But when I type in 10. I don't get 10 versions of the template, I get 1.

    I know I need a loop. This is where my struggle is, finding the wording/language to create a correct loop that takes the number from the input box and opens that many copies of template.

    Any Help would be greatly appreciated. I've searched the internet and cannot find a loop scenario using the number in the input box.

    Bev Grove
    Attached Files Attached Files
    Last edited by Bevg; 09-06-2023 at 05:52 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open Outlook Template
    By marcosis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2018, 07:14 AM
  2. [SOLVED] Excel VBA Open Outlook Template as a template for editing
    By brucemc777 in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 08-27-2016, 08:39 PM
  3. Open Outlook Template and Need Subject Line
    By TMcKay in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-11-2015, 05:21 PM
  4. Outlook Template use input box to prompt for information
    By barbj1969 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 09-15-2014, 11:29 PM
  5. Replies: 1
    Last Post: 07-17-2013, 08:10 AM
  6. Replies: 3
    Last Post: 07-17-2013, 08:10 AM
  7. Replies: 2
    Last Post: 05-20-2011, 07:26 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