Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to count table columns in Excel
  • How to add Trendline to a chart in Excel
  • Randomize/ Shuffle List in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Managing Conditional Formatting Rules in Excel

References

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to retrieve first match between two ranges in Excel
  • How to use Excel OFFSET function
  • Extract all partial matches in Excel

Data Validations

  • Excel Data validation no punctuation
  • Data validation must not exist in list
  • Excel Data validation must not contain
  • Excel Data validation must contain specific text
  • Excel Data validation whole percentage only

Path and FullName property in Excel VBA

by

The Path property in Excel VBA returns the complete, saved path to the workbook (Excel file). The FullName property in Excel VBA returns the complete, saved path, including the name of the workbook.

Download path-fullname.xls and add it to “C:\test\”

Place a command button on your worksheet and add the following code lines:

1. The following code line returns the complete path to path-fullname.xls.

MsgBox Workbooks("path-fullname.xls").Path

Result:

2. The following code line returns the complete path, including the name of the active workbook.

MsgBox ActiveWorkbook.FullName

Result:

Post navigation

Previous Post:

Close and Open Excel Workbooks Through VBA

Next Post:

Loop through Books and Sheets Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Invoice status with nested if in Excel
  • IF with wildcards in Excel
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel
  • How to use Excel FALSE Function

Date Time

  • How to calculate quarter from date in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate percent of year complete in Excel
  • Get last day of month in Excel
  • Get date from day number in Excel

Grouping

  • If cell contains one of many things in Excel
  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • Categorize text with keywords in Excel

General

  • List sheet names with formula in Excel
  • Convert column number to letter in Excel
  • Count cells that do not contain many strings in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning