![]() ![]() Here is a simple example of the VBA Name function. We can use this Name Function in VBA MS Office 365, MS Excel 2016, MS Excel 2013, 2011, Excel 2010, Excel 2007, Excel 2003, Excel 2016 for Mac, Excel 2011 for Mac, Excel Online, Excel for iPhone, Excel for iPad, Excel for Android tablets and Excel for Android Mobiles. Where we can apply or use VBA Name Function? The NewPath argument represents the folder or file path. NewPath: It is a mandatory string parameter. ![]() The OldPath argument represents the folder or file path to rename. OldPath: It is a mandatory string parameter. The Name function/statement has two arguments in Excel VBA. The RmDir Function doesn’t return any value. The syntax of the Name Function in VBA is Name OldPath As NewPath Example 2: Move a File(Returns an Error).Where we can apply or use VBA Name Function?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |