Combo Box issues - read-only workbook

Stockdale

New Member
Joined
Dec 9, 2014
Messages
5
I have an issue with a couple of combo boxes - when the workbook is editable, they work perfectly as designed. However, when the workbook is in read-only mode, Excel asks the user if they wish to reopen the workbook every time a selection is made within the combo box.

The workbook must remain in read-only mode for other users to access from a shared content server.

Does anyone have any ideas please? It's driving me crazy!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to MrExcel.

What VBA code is assigned to the ComboBox?

I've just realised I meant to say List Box, not Combo Box. Apologies Andrew!

I created the List Box via the Developer tab, so the code is minimal:

Sub ListBox6_Change()
End Sub

The input range is a list of cells containing names of years (2011-2012, 2012-2013 etc) - the reason for the List Box is to select a year and that range will highlight on a line chart below.

I'm a newcomer to these Developer tools so sorry if I have misunderstood.
 
Upvote 0
What's the exact text of the message that Excel gives you? I don't see why just selecting a value from a ListBox in a read-only workbook would prompt a re-open.
 
Upvote 0
What's the exact text of the message that Excel gives you? I don't see why just selecting a value from a ListBox in a read-only workbook would prompt a re-open.

"file_name.xlsm is already open. Reopening will cause any changes you made to be discarded. Do you want to reopen file_name.xlsm?"

Yet the file is absolutely fine when editable. Very odd.
 
Upvote 0
Do you have any VBA code in the workbook that may be reopening it?

I only have one other module in the workbook:

Public Function highlightSeries(seriesName As Range)
Range("valSelOption") = seriesName.Value
End Function

This is based on the dashboard tutorial from chandoo.org. So, the VBA code acts as a hyperlink of sorts, but there is nothing there to suggest the reason for the dialog box to appear.
 
Upvote 0
I have just ran another test in saving the workbook as read-only to my local drive. The List Box worked without the message. Therefore, the problem must lie with the location of the server, which is OpenText Content Server 10.

But I still don't understand what the server is doing to cause this?
 
Upvote 0

Forum statistics

Threads
1,216,590
Messages
6,131,597
Members
449,657
Latest member
Timber5

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top