Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you have a formula range be determined by the location ofanother cell? Daniel[_3_] Excel Worksheet Functions 2 February 8th 08 03:01 PM
Adding File location in a given cell Debra Excel Discussion (Misc queries) 3 September 6th 07 05:13 PM
Saving a pre-determined range of cells as text? [email protected] Excel Discussion (Misc queries) 2 March 27th 07 11:58 PM
Saving file to a location determined by a cell Dan Hulgin Excel Programming 1 October 28th 04 10:24 PM
Saving a TXT file keeping its current location Chichifo[_3_] Excel Programming 1 September 7th 04 07:39 PM


All times are GMT +1. The time now is 10:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"