ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   excel - create a macro to use cell text as part of a file name (https://www.excelbanter.com/new-users-excel/96418-excel-create-macro-use-cell-text-part-file-name.html)

bossman tv

excel - create a macro to use cell text as part of a file name
 
I am trying to write a macro to save a excel spreadsheet and use a cell that
contains text like a customer name.

bpeltzer

excel - create a macro to use cell text as part of a file name
 
Record your macro to include the File SaveAs, then edit that line of code.
Instead of ... Filename:="\\FinancialReporting\FY2006" ..., you might use
.... Filename:="\\FinancialReporting\FY" & range("B2").value ...



"bossman tv" wrote:

I am trying to write a macro to save a excel spreadsheet and use a cell that
contains text like a customer name.



All times are GMT +1. The time now is 07:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com