Posted on 2001-06-21
Last Modified: 2011-10-03
Hi All,

Can anyone tell me how to use this function in VB, and also, can anyone post a simple coding for this functions?

Question by:kchoed
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

Microsoft earned 100 total points
ID: 6213414
have a look at this :-

object.Format = formatstring

The Format property syntax has these parts

object expression
An expression that specifies a particular object and can include any of the object's containers. For example, an application can have an Application object that contains a Document object that contains a Text object

A combination of keywords, operators, variables, and constants that yields a string, number, or object. An expression can be used to perform a calculation, manipulate characters, or test data.

The StdDataFormat object is an integral part of data binding. It is created for any bound control, regardless of whether you create one in code

or have a look at this link

hope this helps


LVL 52

Expert Comment

by:Ryan Chong
ID: 6213443

Expert Comment

ID: 6214600
ryancys link shows exactly the same information my link does,

LVL 52

Expert Comment

by:Ryan Chong
ID: 6216605
ya, similar topic. Sorry 'bout that bcos i just post it without refresh this page.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question