Prompting user not working ?
Re: Prompting user not working ?
You should count parameters from left, not from right (i.e. "the last").
W7(x64) SP1 German
( +WXP SP3 )
( +WXP SP3 )
Re: Prompting user not working ?
Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
Re: Prompting user not working ?
This would mean that parameter 2 is parameter 3CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
Would you understand what is meant?
W7(x64) SP1 German
( +WXP SP3 )
( +WXP SP3 )
Re: Prompting user not working ?
If parameter 2 is optional, then how can you bypass this parameter ?PeterH wrote:This would mean that parameter 2 is parameter 3CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
Would you understand what is meant?
Re: Prompting user not working ?
Have a look at the last example for confirm() in the help which shows how to skip "unneeded" parameters and adapt it to your needs.
If that's too much to ask then you should probably stay away from scripting.
If that's too much to ask then you should probably stay away from scripting.
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)