Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Copy cell properties from master when user enters a new line.

Is there a VB command that can copy the formats, formulas and Data Validation
from one cell into another cell.

I have a spreadsheet that I have created all the cell formats (bold, font,
Data Validation) in line 6.

If the user enters into a new line I would like to copy the structure of
line 6 to the new line they are entering on (same column).

Thanks
Hippy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Copy cell properties from master when user enters a new line.

David McRitchie has a nice macro that asks how many rows should be inserted and
even copies the formulas down to those new rows.

http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

Maybe you can modify it to always point at row 6???

Hippy wrote:

Is there a VB command that can copy the formats, formulas and Data Validation
from one cell into another cell.

I have a spreadsheet that I have created all the cell formats (bold, font,
Data Validation) in line 6.

If the user enters into a new line I would like to copy the structure of
line 6 to the new line they are entering on (same column).

Thanks
Hippy


--

Dave Peterson
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
Out of range line disappears in print as it re-enters graph Nisse PowerMan Charts and Charting in Excel 2 October 31st 06 11:32 AM
Master worksheet automatically enters data into sub worksheets Ken Excel Discussion (Misc queries) 1 November 1st 05 10:36 PM
How do I make all VBA routines offlimits until a user enters the correct password Kevin H. Stecyk[_2_] Excel Programming 3 January 23rd 05 06:48 PM
workbook and application reference set to null after the user enters something in an excel sheet Tobias[_3_] Excel Programming 0 May 19th 04 04:55 PM
User enters data in popup box - its entered into desired cell ian123[_30_] Excel Programming 1 December 28th 03 03:16 PM


All times are GMT +1. The time now is 12:24 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"