Posted on 2001-06-21
Medium Priority
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 400 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 53

Expert Comment

by:Ryan Chong
ID: 6213443

Expert Comment

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

LVL 53

Expert Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

801 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