Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Linked sheet design theory

Hi

I'm creating a project to parse a .txt file of attendance information into a
workbook. Details include EmplID. There is a need to link this to related
data.

First test to link to one workbook using code to generate Index & Match
formulae produced relatively slow results (about a minute or so to link
around 4000 lines. Is there a better way to solve this?

Steve


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Linked sheet design theory

need lots more information on how and what you did. post code

otherwise generic:
application.screenupdating = false 'then true
application.calculation = xlmanual ' then xlautomatic
write to an array then write all to sheet

search this group for "efficient"

"Steve" wrote:

Hi

I'm creating a project to parse a .txt file of attendance information into a
workbook. Details include EmplID. There is a need to link this to related
data.

First test to link to one workbook using code to generate Index & Match
formulae produced relatively slow results (about a minute or so to link
around 4000 lines. Is there a better way to solve this?

Steve



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Linked sheet design theory

I always stop screenupdating and calculations.

Didn't bring the sheet home from work. It's more complex than the following
but this should give the general idea:

For i = 2 to RowCount
Range ("B" & i).formula = ("=INDEX(Filepath!Database,MATCH(B" & i &
",Database),1)"
Next i

Will running to array be quicker? Might it be quicker to copy across the
external reference data to a spare worksheet and reference it there before
turning formulae to value and deleting imported data?

At most, I envisage 10,000 lines or data and 500 lines of lookup.

Steve

"Vacation's Over" wrote in message
...
need lots more information on how and what you did. post code

otherwise generic:
application.screenupdating = false 'then true
application.calculation = xlmanual ' then xlautomatic
write to an array then write all to sheet

search this group for "efficient"

"Steve" wrote:

Hi

I'm creating a project to parse a .txt file of attendance information
into a
workbook. Details include EmplID. There is a need to link this to related
data.

First test to link to one workbook using code to generate Index & Match
formulae produced relatively slow results (about a minute or so to link
around 4000 lines. Is there a better way to solve this?

Steve





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
How to design a stock taking report sheet Philip Ghana Excel Discussion (Misc queries) 1 January 14th 10 01:47 PM
IF/Then Theory between two or more tabs. ruaduck Excel Worksheet Functions 3 May 28th 08 10:38 PM
theory of biorhythms deadman Excel Discussion (Misc queries) 2 May 27th 06 01:17 PM
Need Design Direction for Charting Spread Sheet Ufdah Excel Discussion (Misc queries) 1 December 2nd 05 12:29 AM
Hyperlinks Inserted in Design Mode inactive once Exited Design Mod Craig Excel Programming 0 March 16th 05 04:53 PM


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