LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional Formatting Macro

Hi,

I created a macro that creates conditional formatting when i select a
certain cell range. I want to automate the whole process due to having
several different cells to modify in a seperate data sheet. When I
recorded the process, it didn't record the whole process, so I am at a
loss right now. I want to run the macro in a different spreadsheet
(the data sheet). Below is one of my current macros. When this is
run, it creates a button that I want to press that runs a macro in the
data sheet which uses CF and toolbar buttons. Any ideas??

Sub TLD_1()

Application.Run "'Productivity Report Generator.xls'!TLD1"
ActiveSheet.Shapes("Button 28").Select
Selection.OnAction = "AHT"

ActiveSheet.Shapes("Button 28").Select
Selection.Characters.Text = "Your Productivity Report"
With Selection.Characters(Start:=1, Length:=24).Font
..Name = "Georgia"
..FontStyle = "Regular"
..Size = 10
..Strikethrough = False
..Superscript = False
..Subscript = False
..OutlineFont = False
..Shadow = False
..Underline = xlUnderlineStyleNone
..ColorIndex = xlAutomatic
End With
ActiveCell.Select
End Sub


---
Message posted from http://www.ExcelForum.com/

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting & Macro MickyRat Excel Discussion (Misc queries) 0 May 27th 10 10:05 PM
Conditional formatting with a macro Diana Morrison Excel Worksheet Functions 2 December 6th 07 02:58 PM
Conditional Formatting in a Macro Ed Excel Discussion (Misc queries) 2 August 28th 06 11:23 PM
Conditional Formatting in Macro shantanu oak Excel Discussion (Misc queries) 2 July 14th 06 01:11 PM
macro for conditional formatting No Name Excel Programming 8 October 27th 03 08:03 PM


All times are GMT +1. The time now is 03:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"