![]() |
Saving file to a location determined by a cell
Ok i got this far,by using the search function :) but it still doesn't prompt to update the database Sub Macro2() Dim popo As String popo = Worksheets("Report").Range("v32").Value Dim whoa As String whoa = Worksheets("Report").Range("v7").Value Worksheets("Print").Copy ActiveWorkbook.SaveAs popo & "\" & "ETR_" & whoa & ".xls" ActiveWorkbook.Close Savechanges:=True End Su -- Dan Hulgi ----------------------------------------------------------------------- Dan Hulgin's Profile: http://www.excelforum.com/member.php...fo&userid=1574 View this thread: http://www.excelforum.com/showthread.php?threadid=27256 |
All times are GMT +1. The time now is 01:13 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com