Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA
Resolved · Low Priority · Version 2007
Hugh has attended:
Excel VBA Intro Intermediate course
bets way to make a filepath to another workbook which i can change easily
Hi Hugh
Thanks for your question
It is possible to create a new folder at a particular location by using the mkdir function.
For example, the following code will create a new folder in my documents. The folder's name is specified by the variable strFolder.
MkDir "C:\Documents and Settings\Development\My Documents\" & strFolder
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Development\My Documents\" & strFolder & "\" & strName & ".xls"
Wed 18 Feb 2009: Automatically marked as resolved.
|
Excel tip:Screen Splitters in ExcelScreen splitter icons can be set from the ribbon bar, or dragged from the scroll bars. The icon just above the up arrow on the right scroll bar controls the horizontal splitter; the icon to the right of the right arrow on the bottom scroll bar controls the vertical splitter. |
We'll call during UK business hours
Server loaded in 0.09 secs.