+ Reply to Thread
Results 1 to 3 of 3

Conditional Format for Cell Borders

  1. #1
    Registered User
    Join Date
    08-27-2008
    Location
    California
    Posts
    8

    Conditional Format for Cell Borders

    I need an experts opinion here.

    I know the VBA code to create a border around a cell. How do I condition the code to have the border present only when the cell contains data. ie, cell empty = no border, cell with data = border. In this case, contents of the cell are irrelevent.

    2nd question: on an autorun macro, is there a comand that will pause the macro so I can paste a jpeg file into the worksheet then continue running the macro till the end?
    Last edited by VBA Noob; 09-10-2008 at 02:36 PM.

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573
    Best to post 2 threads for two questions.

    For (1), just add two conditional formats.

    For (2), make a userform modeless. When the user presses, OK button, it will continue.

  3. #3
    Registered User
    Join Date
    08-27-2008
    Location
    California
    Posts
    8
    Can I get an example of both. my conditional format is rusty and I have never heard of userform modeless

+ 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. Conditional Format Slowing Scrolling
    By yorkshirewhite in forum Excel General
    Replies: 1
    Last Post: 07-18-2008, 08:13 AM
  2. Find empty/null/blank cell in a conditional format
    By Dabooj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2008, 10:50 AM
  3. Conditional Format cell stuck
    By Stryder in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-27-2008, 10:21 AM
  4. How to copy format, derived from conditional format?
    By jeff.p in forum Excel General
    Replies: 2
    Last Post: 12-20-2007, 04:57 AM
  5. Conditional Format Q
    By plaitoh in forum Excel General
    Replies: 2
    Last Post: 12-29-2006, 10:37 PM

Tags for this Thread

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