Closed Thread
Results 1 to 2 of 2

Simple Macro - Quick Question on Code

  1. #1
    Forum Contributor
    Join Date
    02-21-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    100

    Simple Macro - Quick Question on Code

    Hey everyone!

    Quick question!
    Here's my code

    Please Login or Register  to view this content.
    Everything works good, but theres a couple of things:

    1) When the InputBox appears, the user can click "Cancel" and the backup still runs, and names the file 'False.xls' - How do I block this from happening?

    2) Maybe related to what I mentioned in 1) but what code do I put so that the user cannot leave the field blank and clikc 'OK'?

    Thanks

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Simple Macro - Quick Question on Code

    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.

Closed 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