Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2015, 11:16 PM
excelledsoftware excelledsoftware is offline Autofill SaveAs File Name box using read only workbook Windows 8 Autofill SaveAs File Name box using read only workbook Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

I think the only issue is the 3rd line of code. The workbook name does not include the file extension at least not in my experience. Change it to


Code:
 If ThisWorkbook.Name = "Test" Then
and see if that fixes it.

Thanks
Reply With Quote
Reply

Tags
excel 2010, vba excel



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofill SaveAs File Name box using read only workbook VBS saveas API behaviour is different from Menu saveas Ahmed AbuZekry Word VBA 2 03-23-2015 02:14 AM
Autofill SaveAs File Name box using read only workbook SaveAs docm file from template ptmuldoon Word VBA 7 03-09-2015 05:38 PM
Autofill SaveAs File Name box using read only workbook I need an index file containing the names of all the worksheets in a workbook. retiredstuart Excel 3 09-12-2014 06:26 AM
the saveas macro in excel 2010 is not transferring the macros to the new workbook missmr28 Excel Programming 3 06-20-2012 05:30 AM
Autofill SaveAs File Name box using read only workbook Read text Report file with VBA and write parsed fields to Excel workbook tpcervelo Excel Programming 1 01-05-2012 10:14 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:39 PM.


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