Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi guys,
I am new to Excel and have created a document that has a drop down list at the top to change the header from 'Bank' to 'Savings'. I read in the discussion group how to automatically save a file using a cell reference. I must change directories, before saving and so far what I have (and it works) is: ChDir "G:\SAVINGS\Pending WRO" ActiveWorkbook.SaveAs Filename:=Range("b8").Value What I need to accomplish is in the active workbook, if Cell A1 = 'Savings', then ChDir "G:\SAVINGS\Pending WRO" ActiveWorkbook.SaveAs Filename:=Range("b8").Value But if Cell A1 = 'Bank' then ChDir "G:\Bank\Pending WRO" ActiveWorkbook.SaveAs Filename:=Range("b8").Value Thanks for any assistance that can be provided. -- Linda |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to change a cell color based on its content using macro? | New Users to Excel | |||
Change a cell based on current content. | Excel Programming | |||
how do I change the content of one cell based on another? | Excel Discussion (Misc queries) | |||
Change the data in one cell based on content of another. | Excel Discussion (Misc queries) | |||
How do I change content of a cell based on date | Excel Worksheet Functions |