Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone tell me what is wrong with this? I keep getting an error...
ActiveWorkbook.SaveAs Filename = ("C:\Personal Stuff\ABBA Communications\") + Range("Q1").Value Thanks in advance for your help! -- Randy Street Rancho Cucamonga, CA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Concatenation operetor in VBA is &:
ActiveWorkbook.SaveAs Filename = _ "C:\Personal Stuff\ABBA Communications\" & Range("Q1").Value Regards, Stefi Randy ezt *rta: Can anyone tell me what is wrong with this? I keep getting an error... ActiveWorkbook.SaveAs Filename = ("C:\Personal Stuff\ABBA Communications\") + Range("Q1").Value Thanks in advance for your help! -- Randy Street Rancho Cucamonga, CA |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this: ActiveWorkbook.SaveAs "C:\Personal Stuff\ABBA Communications\" &
Range("Q1").Value, assuming that Q1 has a filename in it. Ross "Randy" wrote in message ... Can anyone tell me what is wrong with this? I keep getting an error... ActiveWorkbook.SaveAs Filename = ("C:\Personal Stuff\ABBA Communications\") + Range("Q1").Value Thanks in advance for your help! -- Randy Street Rancho Cucamonga, CA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
Disable save, save as, but allow save via command button | Excel Programming | |||
How to diasble save and save as menu but allow a save button | Excel Programming | |||
Totally Disabling (^ save ) (Save as) and Save Icon Which code do I use: | Excel Programming | |||
when i save xls file, debug script is running and canno't save fil | Excel Discussion (Misc queries) |