![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary
Posts: 57
|
I borrowed the code for the simple "saveasA1", and put in a different path other than the default location. when i run the marco it is say location not found, etc. Do i have the syntax correct for the network path directory? If so, what else could be stopping the save?
Public Sub SaveAsA1Again() ThisFile = Range("A1").Value ActiveWorkbook.SaveAs FileName:="\\cs2data1\eesdwwshared\30Day\" & ThisFile End Sub |
|
|
|
|
|
#2 | |
|
New Member
Join Date: Feb 2002
Location: Washington State
Posts: 33
|
Quote:
FileName:="\cs2data1eesdwwshared30Day" & ThisFile & ".xls" Rick |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary
Posts: 57
|
thanks very much...this works
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|