I have developed a macro for my work that will automatically generate a report we have to hand off every day. The macro prompts the user to provide our bank report (in .CSV format) and our accounting system's report (Great Plains - Also .CSV). The macro takes these two files, creates a new workbook, pastes them into two separate sheets and calculates the discrepancies and alerts the user.
After doing this, the user is to post all payments from GP to lock in any deposits we have received for the date in question. This macro has changed our manual process into a digital only (we used to print off the report after manually creating it, now the macro saves it onto our network drive so we no longer have to pass the papers off, including what has been 'posted')
Since this is a new process, I also created a MsgBox
to alert the user to save all postings to a specific file-path. This is for those who are unfamiliar with the process. I want it to allow the user to check a box to Never show this message again
, so when they run the report the next time, the message won't display.
I assume to do this, I will have to convert the message from a MsgBox
to a UserForm
. The macro (template) file is saved on the network drive, rather than a particular machine.
My question: Is there a way to save the user's input, or rather save a setting to that particular machine? Is there a way to call for a machine's information and save the information to a list, or save the setting to that machine?
The Prompt:
MsgBox "STOP!" & vbCr & vbCr & _
"When prompted to print upon closing the Bank Deposit screen, deselect " & _
"the " & Chr(34) & "Print" & Chr(34) & " option and select the " & _
Chr(34) & "File" & Chr(34) & " option. Save the file as a " & _
"Comma-delimited file in the necessary file on the accouting drive.", _
vbCritical, "Posting in Great Plains"`