Results 1 to 3 of 3

Thread: Setting column properties

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    10

    Setting column properties

    How do i set a column so that column 'A' is currency?
    and things along those lines... thanx

  2. #2
    Lively Member TheFIDDLER's Avatar
    Join Date
    May 2002
    Location
    here and there and far away
    Posts
    126
    There is no need to do anything special in Excel such that collumns handle certain types of data.

    You can enter numbers anywhere in the worksheet.

    To have the numbers appear as currency, highlight the appropriate cells, and from the menu, choose FORMAT, CELLS, CURRENCY. You will be given a choice as to which currency format you want your data to use.

    If you want the whole column to format its data using Currency formats, select the Column in its entirety (by clicking on the collumn letter), and then go to FORMAT, CELLS, CURRENCY.

    IF you want to do this via code, use the Macro recorder to record the above steps, and pick what you need from the generated code.
    -----
    #VBA, VB 6 Professional Edition, Office XP Developper. Excel 97, Excel 2000, Excel XP

    I miss my VIC 20.
    Never should have upgraded to my commodore 64. ...

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Posts
    10
    thanx im using the recorder...
    i had to use it cause of mysql Complications... thanks man!

    Newbie to VBA

    AznFuman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width