TotallyConfused
Board Regular
- Joined
- May 4, 2017
- Messages
- 247
- Office Version
- 365
- Platform
- Windows
Hello
I have a start-up menu program (which we’ll call ‘Program 1’) that allows users to enter certain variables, such as ‘Sales Taxes’. The users are then taken to another program (that we’ll call “Program 2’) which will automatically link to ‘Program 1’ and import the assigned values of the variables.
The moment ‘Program 2’ is called, a private sub called ‘Private Sub Workbook_Open()’ is activated. The only thing in it is the command ‘MainMenu’, which right now does nothing but hide that ‘Variables’ sheet.
My problem is that I keep getting a pop-up message telling me “This workbook contains links to other data sources.” It then explains what will happen and gives the user three options: “Update” “Don’t Update” “Help”. The option of ‘Update’ seems to be the default value. Because ‘Update’ is what I want to happen, I’ve tried inserting ‘SendKeys "%{~}", True’ in both MainMenu of Program 2 and also that private sub in an effort to suppress that pop-up message.
Recently I read where someone advised another user to use the following command to suppress user interface. It was ‘Application.DisplayAlerts = False’. I’ve tried putting this in ‘Program 2’s MainMenu and also as the first item in the private sub, but I still get the same pop-up message.
I want this program to always update, so is there any way to suppress this user prompt?
Thank you in advance for any help or suggestions you may have.
TotallyConfused
I have a start-up menu program (which we’ll call ‘Program 1’) that allows users to enter certain variables, such as ‘Sales Taxes’. The users are then taken to another program (that we’ll call “Program 2’) which will automatically link to ‘Program 1’ and import the assigned values of the variables.
The moment ‘Program 2’ is called, a private sub called ‘Private Sub Workbook_Open()’ is activated. The only thing in it is the command ‘MainMenu’, which right now does nothing but hide that ‘Variables’ sheet.
My problem is that I keep getting a pop-up message telling me “This workbook contains links to other data sources.” It then explains what will happen and gives the user three options: “Update” “Don’t Update” “Help”. The option of ‘Update’ seems to be the default value. Because ‘Update’ is what I want to happen, I’ve tried inserting ‘SendKeys "%{~}", True’ in both MainMenu of Program 2 and also that private sub in an effort to suppress that pop-up message.
Recently I read where someone advised another user to use the following command to suppress user interface. It was ‘Application.DisplayAlerts = False’. I’ve tried putting this in ‘Program 2’s MainMenu and also as the first item in the private sub, but I still get the same pop-up message.
I want this program to always update, so is there any way to suppress this user prompt?
Thank you in advance for any help or suggestions you may have.
TotallyConfused