Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Jump straight to specific row number 1,234,567 (within a Text File

Via VBA code, is it possible to jump straight to a specific row number within
a ".txt" file?

My database is 250MB in size. There are 4 million rows in it. Presently, my
macro cycles through from top to bottom, then repeat cycle until every listed
part number is found. This is pain staking.

Pls show me the codes, if any.

--
Edmund
(Using Excel 2000)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Jump straight to specific row number 1,234,567 (within a Text File

try skipline

For i = 0 to 4
StdIn.SkipLine
Next

lg
Robin

Edmund schrieb:

Via VBA code, is it possible to jump straight to a specific row number within
a ".txt" file?

My database is 250MB in size. There are 4 million rows in it. Presently, my
macro cycles through from top to bottom, then repeat cycle until every listed
part number is found. This is pain staking.

Pls show me the codes, if any.

--
Edmund
(Using Excel 2000)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Jump straight to specific row number 1,234,567 (within a Text File

Edmund,
How are you using your text file in Excel/VBA ?
Depending on the above, SEEK may be an option.

NickHK

"Edmund" wrote in message
...
Via VBA code, is it possible to jump straight to a specific row number

within
a ".txt" file?

My database is 250MB in size. There are 4 million rows in it. Presently,

my
macro cycles through from top to bottom, then repeat cycle until every

listed
part number is found. This is pain staking.

Pls show me the codes, if any.

--
Edmund
(Using Excel 2000)



  #4   Report Post  
Posted to microsoft.public.excel.programming
MH MH is offline
external usenet poster
 
Posts: 30
Default Jump straight to specific row number 1,234,567 (within a Text File

Why don't you use a database to store your database?

MH

"Edmund" wrote in message
...
Via VBA code, is it possible to jump straight to a specific row number
within
a ".txt" file?

My database is 250MB in size. There are 4 million rows in it. Presently,
my
macro cycles through from top to bottom, then repeat cycle until every
listed
part number is found. This is pain staking.

Pls show me the codes, if any.

--
Edmund
(Using Excel 2000)



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
Using Tab key to jump to specific cell Kelly Excel Discussion (Misc queries) 3 April 6th 10 06:25 PM
Text join formulas working but act as straight text when modified akkrug New Users to Excel 3 May 14th 08 02:27 PM
Remove decimal from price to show straight number AuthorizedUserPF Excel Programming 1 April 4th 06 07:36 PM
jump to hyperlink, extract value at specific destination in file Philip Excel Worksheet Functions 1 June 7th 05 10:37 AM
Excel should let hyperlink of PDF jump to a specific page like IE. Kenn Tan Excel Discussion (Misc queries) 2 April 18th 05 09:23 AM


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