Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Hi,
no you cant save a xls work book as a cvf file
you want to write from the xls to a cvf file
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Hi,
no you cant save a xls work book as a cvf file
you want to write from the xls to a cvf file
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
I'm just getting how this one works. I don't want to start over.
I think you're on to avoiding the InputBox popup, I'm just not sure on the last steps.
Specifically these lines...
And I think I get what you're doing here, just not 100% sure, how it works together and I know I can't leave it open because of the final step.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
I think I have it. I'll post in a moment.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Hi,
apologies I missed it in the first code
Which popup and where?
is it an alert ?
you can set the displayalerts to false but I see that in your code already
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
This is getting anoying! lol
I tried this below, with and commenting out
And I'm still back to rt error 9 'subscript out of range'! @ Set wk = Worksheets(2)
fwiw I would think this would cause a problem in the original macro since it's defined earlier as Set wk2 = Worksheets(2), but it doesn't. Only now.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
This is the InputBox popup I'm trying to avoid.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Same rt error 9 'subscript out of range' @ Set wk = Worksheets(2)
Adding this code back in is the same too. I know I need this reference later either way. OutFilePath
I don't know if it's because I'm normally using .CSV but you saw the original working code.
It definitely has to save as a .vcf not an .xls in the code above.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
I don't know where that idea came from in the first place.
I just tested our original code creating the vcf file from an .xls file rather than a .csv, and it worked perfectly.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Morning,
The way is to increment the file number is to separate it in the routine. The do look will negate the input box
Re: How to use InputBox, accepting initial input and avoid the MsgBox.
Thanks for your help! The code I added seems to work exactly as we need with the automatic filename increment.