Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gap Gap is offline
external usenet poster
 
Posts: 15
Default Batch Modification of Ranges (Optimization)

Hello,

I want to populate a large number of Cells in a workbook that are not
contiguous and on different worksheetsof a workbook.

If they are on the same sheet and contigous I can populate them using
an array in a single call which is faster.

Is there an efficient way if the cells are on different Worksheets and
not contigous? I can do it sheet by sheet by again can it be done in a
single batch call per worksheet?

Tks & Regds
Gap

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Batch Modification of Ranges (Optimization)

Since a worksheet is a container for range objects a range can not span more
than one worksheet. So you will have to go one sheet at a time. You can
however do non contiguious ranges. Take a look at the union function. It is
about the easiest way to create these.
--
HTH...

Jim Thomlinson


"Gap" wrote:

Hello,

I want to populate a large number of Cells in a workbook that are not
contiguous and on different worksheetsof a workbook.

If they are on the same sheet and contigous I can populate them using
an array in a single call which is faster.

Is there an efficient way if the cells are on different Worksheets and
not contigous? I can do it sheet by sheet by again can it be done in a
single batch call per worksheet?

Tks & Regds
Gap


  #3   Report Post  
Posted to microsoft.public.excel.programming
Gap Gap is offline
external usenet poster
 
Posts: 15
Default Batch Modification of Ranges (Optimization)

Hello Jim,

Union will help me create the Range but how to populate the resulting
range with values?

Tks & Regds
Gap

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Batch Modification of Ranges (Optimization)

That depends on what you want to populate the range with. Is it all one
formula or value. Or are there different formulas and values. I need more
infor on exactly what the intention is here.
--
HTH...

Jim Thomlinson


"Gap" wrote:

Hello Jim,

Union will help me create the Range but how to populate the resulting
range with values?

Tks & Regds
Gap


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
run batch job from each row - how to insert run batch function per row? Mitchell_Collen via OfficeKB.com Excel Discussion (Misc queries) 5 February 26th 09 07:16 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Excel Worksheet Functions 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Excel Discussion (Misc queries) 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Links and Linking in Excel 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Charts and Charting in Excel 0 March 8th 07 04:08 AM


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