Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Find Function

I am using Excel 97.


I have a spreadhsheet with over 1000 rows of data on it and I want a
userform form with textboxes in it which picks up each row of data.

The only thing I have found that might meet my requirements is a function
called 'kickbutt-find function' by Aaron Blood. I don't whether this is what
I want but the first lines of code a

Enum eLookin
xlFormulas = -4123
xlComments = -4144
xlValues = -4163
End Enum

Enum eLookat
xlPart = 2
xlWhole = 1
End Enum

However, My excel doesn't like the Enum part.

Please can anyone assist or point me in the direction of something which
will be ideal for my requirements. I think the form provided in the Data
menu is to basic.

Many thanks

--
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Find Function

The general requirement seems large and generic, and the code you quote
seems specific to the Find Function. What are you trying to do with the
form?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark" wrote in message
...
I am using Excel 97.


I have a spreadhsheet with over 1000 rows of data on it and I want a
userform form with textboxes in it which picks up each row of data.

The only thing I have found that might meet my requirements is a function
called 'kickbutt-find function' by Aaron Blood. I don't whether this is

what
I want but the first lines of code a

Enum eLookin
xlFormulas = -4123
xlComments = -4144
xlValues = -4163
End Enum

Enum eLookat
xlPart = 2
xlWhole = 1
End Enum

However, My excel doesn't like the Enum part.

Please can anyone assist or point me in the direction of something which
will be ideal for my requirements. I think the form provided in the Data
menu is to basic.

Many thanks

--
Mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Find Function

Enums were not introduced until VBA 6. Excel 97 uses VBA 5. However, those
are built in constants in excel, so it is unclear why they are being locally
declared - unless this is for use outside of excel and mimics the built in
Excel function.

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
I am using Excel 97.


I have a spreadhsheet with over 1000 rows of data on it and I want a
userform form with textboxes in it which picks up each row of data.

The only thing I have found that might meet my requirements is a function
called 'kickbutt-find function' by Aaron Blood. I don't whether this is

what
I want but the first lines of code a

Enum eLookin
xlFormulas = -4123
xlComments = -4144
xlValues = -4163
End Enum

Enum eLookat
xlPart = 2
xlWhole = 1
End Enum

However, My excel doesn't like the Enum part.

Please can anyone assist or point me in the direction of something which
will be ideal for my requirements. I think the form provided in the Data
menu is to basic.

Many thanks

--
Mark



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Find Function

Just to add to Tom's post...

Since these are constants builtin to excel, just try commenting that whole
block:

'Enum eLookin
' xlFormulas = -4123
' xlComments = -4144
' xlValues = -4163
'End Enum
'
'Enum eLookat
' xlPart = 2
' xlWhole = 1
'End Enum


(the single quote in front makes it a comment (intended for human consumption
only).)

Mark wrote:

I am using Excel 97.

I have a spreadhsheet with over 1000 rows of data on it and I want a
userform form with textboxes in it which picks up each row of data.

The only thing I have found that might meet my requirements is a function
called 'kickbutt-find function' by Aaron Blood. I don't whether this is what
I want but the first lines of code a

Enum eLookin
xlFormulas = -4123
xlComments = -4144
xlValues = -4163
End Enum

Enum eLookat
xlPart = 2
xlWhole = 1
End Enum

However, My excel doesn't like the Enum part.

Please can anyone assist or point me in the direction of something which
will be ideal for my requirements. I think the form provided in the Data
menu is to basic.

Many thanks

--
Mark


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Find Function

And you may want to try Jan Karel Pieterse's FlexFind:
http://www.oaltd.co.uk/MVP/

Mark wrote:

I am using Excel 97.

I have a spreadhsheet with over 1000 rows of data on it and I want a
userform form with textboxes in it which picks up each row of data.

The only thing I have found that might meet my requirements is a function
called 'kickbutt-find function' by Aaron Blood. I don't whether this is what
I want but the first lines of code a

Enum eLookin
xlFormulas = -4123
xlComments = -4144
xlValues = -4163
End Enum

Enum eLookat
xlPart = 2
xlWhole = 1
End Enum

However, My excel doesn't like the Enum part.

Please can anyone assist or point me in the direction of something which
will be ideal for my requirements. I think the form provided in the Data
menu is to basic.

Many thanks

--
Mark


--

Dave Peterson


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
Find Function Jeff Gross Excel Worksheet Functions 4 July 31st 08 05:34 PM
Find function alamo Excel Worksheet Functions 1 September 16th 05 12:47 PM
Find function Jahunga Excel Worksheet Functions 2 November 22nd 04 03:38 PM
Find Function kiza[_4_] Excel Programming 2 June 11th 04 02:49 PM
backwards find function to find character in a string of text Ashleigh K. Excel Programming 1 January 14th 04 04:36 PM


All times are GMT +1. The time now is 09:39 AM.

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"