View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Prompt for new folder


Do
ans = your_prompt_code
Loop Until ans < ""

you may have to test for False depending upon your prompt code

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Phil Floyd" wrote in message
...
Recording a macro, I am trying to get the prompt to create a new folder.

It
will only record properly if I enter a folder name, but I would like it to
wait until I give it a new folder name. What is the correct code for

this?

Phil