ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Dim... As ... (https://www.excelbanter.com/excel-programming/303204-dim.html)

scottnshelly[_55_]

Dim... As ...
 
I need some help understanding exactly what this Dim thing is.
searched in the forum and in the tips, but couldn't find anything. Ca
anyone help explain what circumstances require a Dim and what it doe
and how to do it?
Thanks

--
Message posted from http://www.ExcelForum.com


Bob Phillips[_6_]

Dim... As ...
 
Dim declares a variable, which you can use in your code as ways to save some
data for later use. Within the Dim statement, you can define the type of the
variables, string, long, range, etc., with the As part.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"scottnshelly " wrote in
message ...
I need some help understanding exactly what this Dim thing is. I
searched in the forum and in the tips, but couldn't find anything. Can
anyone help explain what circumstances require a Dim and what it does
and how to do it?
Thanks,


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 01:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com