LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Fill Range With A Value

What code would I use to fill a all the cells in a selected range with the
same value. The user will highlight a range, and I want to simulate as if an
item were pasted in, except it will be in code. How do I fill every cell
with this one item:

myKey = "Test"
Selection.Range.Value = myKey


 
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
Fill range/series help required please Loosey Excel Discussion (Misc queries) 5 May 29th 07 07:26 PM
Fill Blank cells in a range kevcar40 Excel Discussion (Misc queries) 2 March 27th 07 04:17 PM
Range Names & Auto Fill Peter Excel Worksheet Functions 2 October 9th 06 09:23 PM
How to fill a range with data from another range? Themis Excel Discussion (Misc queries) 4 September 15th 05 07:29 PM
automatically fill in a range of cells Maarten Excel Discussion (Misc queries) 1 April 29th 05 11:14 AM


All times are GMT +1. The time now is 09:06 PM.

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"