+ Reply to Thread
Results 1 to 3 of 3

making formating active?

  1. #1
    Registered User
    Join Date
    05-10-2011
    Location
    Miami
    MS-Off Ver
    Excel 2007
    Posts
    28

    making formating active?

    I have the following line to set the date format in a workbook:

    Please Login or Register  to view this content.
    If you look at the formatting after the macro runs, it says it has changed, but for all real purposes, the column has not changed at all. Only if you double click into a cell is the format change actually applied, and then only for that one cell. Am I doing something wrong? I would hate to have to individually double-click the thousands of lines of dates here...

    Thanks!

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: making formating active?

    Can you post the rest of the code?

    BTW you change the format directly there isn't any reason to select it first.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: making formating active?

    Are you wanting to convert Text-type dates into Serial-type dates? If yes, maybe try something like this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Making a cell active.
    By Pierre11 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-09-2013, 03:17 PM
  2. making a timer from an active x checkbox
    By ferrum_equitis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2012, 01:02 PM
  3. Making an active cell jump to the right
    By vladimir70 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2011, 01:30 PM
  4. Automatically Making cell Active
    By supernova5271 in forum Excel General
    Replies: 5
    Last Post: 10-29-2010, 06:16 PM
  5. Making a field active
    By wait3264 in forum Excel General
    Replies: 3
    Last Post: 07-31-2006, 12:03 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1