Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Filling a selected range automatically

Hi, I have a large data table 10,000+ items, that I want
to manually assign to groups. For instance 4 of the items
are grouped so i want to assign these for items a number.
The next 7 items are grouped so i want to assign them the
next incremental number. Incrementng a number is not a
problem, what i would be looking to do is highlight
several sequential cells then hit Ctrl + B or what ever
to trigger the macro and have the cells all filled with a
number, then highlight another set of cells, and run the
macro and fill these cells with the next incremented
number. This way several items can be grouped quickly...
any suggestions as to how i fill a previously selected
raneg with a value ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Filling a selected range automatically

Intersect(Selection.EntireRow,Columns(3)).Value = 8 fills column C of
the selected rows.

or just Selection.Value = 8 if you want the selected cells to be filled.

--
Regards,
Tom Ogilvy


"Neil" wrote in message
...
Hi, I have a large data table 10,000+ items, that I want
to manually assign to groups. For instance 4 of the items
are grouped so i want to assign these for items a number.
The next 7 items are grouped so i want to assign them the
next incremental number. Incrementng a number is not a
problem, what i would be looking to do is highlight
several sequential cells then hit Ctrl + B or what ever
to trigger the macro and have the cells all filled with a
number, then highlight another set of cells, and run the
macro and fill these cells with the next incremented
number. This way several items can be grouped quickly...
any suggestions as to how i fill a previously selected
raneg with a value ?



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
filling down to the end of a data set automatically eklem Excel Discussion (Misc queries) 2 April 23rd 09 05:45 PM
Automatically filling fields answerproject Excel Discussion (Misc queries) 2 February 23rd 09 04:06 PM
Filling Data automatically teach1 Excel Discussion (Misc queries) 1 April 23rd 08 01:37 PM
Automatically clear values from a range of selected cells John Davies Excel Discussion (Misc queries) 1 June 28th 05 04:42 PM
Filling selected cells Hobbit_Oz Excel Programming 1 February 18th 04 11:52 PM


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