Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open("\\Server\share on server\test.xls") Set objWorksheet = objWorkbook.Worksheets(1) objExcel.Visible = True objExcel.DisplayAlerts = True objWorksheet.Protect"password" objWorkbook.SaveAs "\\Server\share on server\test-123.xls" objExcel.Quit
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Excel Web Add-in Where is Visual Basic used||9||77|
|drag and drop a row in excel 2010||5||44|
|Need macro to assign two digit numbers to selected cells in Excel 2016||3||33|
|multiple unique values in different columns||15||35|
Join the community of 500,000 technology professionals and ask your questions.