Excel causing user form to be slow opening.

bigfishyuk

New Member
Joined
Feb 13, 2013
Messages
4
Im not sure whether this is an Excel or Word issue as we currently have data in Excel which is then loaded into a user form in Word.

This has worked fine for a long time but recently we have developed an issue where the user form takes a few minutes to open if the spreadsheet containing the data is open. If is isnt open it takes seconds to open. It is the same on other userform we have in other documents so im sure its not the code that has been changed.

We can get round the issue by continually opening and closing Excel but it isnt the most convenient process.

Any thoughts would be appreciated.

Thanks

Nigel
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Suggested workaround

wb1 = your original workbook
doc = your word document

Create wb2 = new workbook which contains data required for userform in doc
Amend doc to point at wb2 instead of wb1

Everytime wb1 is saved auto-overwrite wb2 with latest data
- use Workbook_BeforeSave procedure
- prevent users from opening wb2 (password protect?)
 
Upvote 0
Thanks Yongle. we set the excel file to auto back up and pointed the userform to the back up file and all works great.
 
Upvote 0

Forum statistics

Threads
1,216,471
Messages
6,130,822
Members
449,595
Latest member
jhester2010

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