Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-09-2017, 08:14 PM
gmayor's Avatar
gmayor gmayor is offline Form Help/Suggestion Windows 10 Form Help/Suggestion Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Change the path in the userform code from
Code:
Private Sub UserForm_Initialize()
    xlFillList ComboBox1, 1, ThisDocument.Path & "\Addresses.xlsx", "Sheet1"
End Sub
to reflect the path of the worksheet e.g.
Code:
Private Sub UserForm_Initialize()
    xlFillList ComboBox1, 1, "C:\Newpath\Addresses.xlsx", "Sheet1"
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Help/Suggestion How do I disable this annoying suggestion box? sand3 Word 4 12-18-2016 03:58 PM
Form Help/Suggestion Wildcard suggestion please! psychson Word 4 05-27-2016 03:27 PM
Suggestion for powerpoint presentation on sofware products jamesdann PowerPoint 0 01-08-2014 02:57 AM
Spelling check - No suggestion Patictor Word 0 10-11-2011 12:24 AM
Suggestion required domex Word 0 10-06-2010 05:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft