---
title: "what is variant datatype in vb script?"  
description: "what is variant datatype in vb script?"  
author: "Rajesh Goswami"  
published: 2010-10-19  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/52/what-is-variant-datatype-in-vb-script  
category: "vb script"  
tags: ["vb script"]  
reading_time: 1 minute  

---

# what is variant datatype in vb script?

VBScript has only one data type called a Variant. A Variant is a special kind of data type that can contain different kinds of information, depending on how it's used. Because Variant is the only data type in VBScript, it's also the data type returned by all functions in VBScript.

## Answers

### Answer by Pushpendra Singh

VBScript has only one data type called a Variant. A Variant is a special kind of data type that can contain different kinds of information, depending on how it's used. Because Variant is the only data type in VBScript, it's also the data type returned by all functions in VBScript.


---

Original Source: https://www.mindstick.com/interview/52/what-is-variant-datatype-in-vb-script

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
