Saving a workbook into the desktop
Is it possible to code to save a file into a variable
directory? ie: c:\documents and settings\variable computer name\desktop the code would search for the correct name and save the Excel file to the desktop. |
Saving a workbook into the desktop
Sure - assuming you can come up with the computer name,
store it in a string variable (e.g. CompName) and then ActiveWorkbook.SaveAs "C:\Documents and Settings\" _ & CompName & "\Desktop",... -----Original Message----- Is it possible to code to save a file into a variable directory? ie: c:\documents and settings\variable computer name\desktop the code would search for the correct name and save the Excel file to the desktop. . |
All times are GMT +1. The time now is 05:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com