Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KBV KBV is offline
external usenet poster
 
Posts: 2
Default KBV - How do i progam a recorded to repeat on mulitple sheets?

For ex, if I record a macro that types a heading. Then I want that macro to
repeat typing that heading in 4 sheets, how do I do that? ( I'm new to
macros)...

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default KBV - How do i progam a recorded to repeat on mulitple sheets?

Sheets(Array("Sheet2", "Sheet4", "Sheet5")).Select
With Range("A1")
.FormulaR1C1 = "This is a heading"
.Font.Bold = True
.Font.Underline = xlUnderlineStyleSingle
End With


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"KBV" wrote in message
...
For ex, if I record a macro that types a heading. Then I want that macro

to
repeat typing that heading in 4 sheets, how do I do that? ( I'm new to
macros)...

Thanks!



Reply
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
Microsoft Visual Basic: Compile error: Sum or Function not defined Dmitry Excel Worksheet Functions 12 April 3rd 06 07:28 AM
How to repeat a code for selected sheets (or a contiguous range of sheets) in a Workbook? Dmitry Excel Worksheet Functions 6 March 29th 06 12:43 PM
Repeat tasks automatically to others sheets pmarques Excel Discussion (Misc queries) 0 February 23rd 06 05:37 PM
Header repeat across Sheets? jenny28 Excel Discussion (Misc queries) 1 February 1st 06 01:15 AM
How do I convert an Excel workbook that has mulitple sheets into . Converting Excel Excel Worksheet Functions 3 April 25th 05 09:47 PM


All times are GMT +1. The time now is 10:40 PM.

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

About Us

"It's about Microsoft Excel"