Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Please, any help with a problem finding vba code

Hi.

I wrote a form with Excel 2003 with XP at home. The form was very basic but
used some commands in vba such as Ucase, Strconv, and Format.

first question:
When i took it to work and tried the form it said that it couldn't find the
library for those three actions. Work is using Excel 200 on an office 200
server. However, i exported the form and and imported it into a new norm
(created with excel 200) and it recoginized the ucase, etc with no problem.
This is the first time i have ever had a problem with those commands. I did
another form at home and took it to work and same problem. Do i need to
convert or save the .xls in a different format?

second question:
Another form ised a Listview i added to the toolbox. I used a simople
command for it i.e.
dim x as listitem
for each x in listview1
msgbox x.text
next

this works great at home but at work it doesn't recoginize the listitem
command. When i added the listview to the toolbox at work, it found it no
problem.
Is there a way of coding a refernece or imports(such as in vb.net) that will
allow excel to recoginize the listitem command without adding it to the
toolbox?

thanks alot for the help
Dan Butler


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Please, any help with a problem finding vba code

Dan,

1st Q: From VBA go to Tools References and look for the broken references.

2nd Q: For Each x in ListView1.ListItems

Rob


"Dan" wrote in message
news:3y0Pb.40589$Ar1.1729@fed1read04...
Hi.

I wrote a form with Excel 2003 with XP at home. The form was very basic

but
used some commands in vba such as Ucase, Strconv, and Format.

first question:
When i took it to work and tried the form it said that it couldn't find

the
library for those three actions. Work is using Excel 200 on an office 200
server. However, i exported the form and and imported it into a new norm
(created with excel 200) and it recoginized the ucase, etc with no

problem.
This is the first time i have ever had a problem with those commands. I

did
another form at home and took it to work and same problem. Do i need to
convert or save the .xls in a different format?

second question:
Another form ised a Listview i added to the toolbox. I used a simople
command for it i.e.
dim x as listitem
for each x in listview1
msgbox x.text
next

this works great at home but at work it doesn't recoginize the listitem
command. When i added the listview to the toolbox at work, it found it no
problem.
Is there a way of coding a refernece or imports(such as in vb.net) that

will
allow excel to recoginize the listitem command without adding it to the
toolbox?

thanks alot for the help
Dan Butler




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Please, any help with a problem finding vba code

Thanks for the response Ron, I;m gonna try it tomorrow at work.

Dan Butler


"Rob van Gelder" wrote in message
...
Dan,

1st Q: From VBA go to Tools References and look for the broken references.

2nd Q: For Each x in ListView1.ListItems

Rob


"Dan" wrote in message
news:3y0Pb.40589$Ar1.1729@fed1read04...
Hi.

I wrote a form with Excel 2003 with XP at home. The form was very basic

but
used some commands in vba such as Ucase, Strconv, and Format.

first question:
When i took it to work and tried the form it said that it couldn't find

the
library for those three actions. Work is using Excel 200 on an office

200
server. However, i exported the form and and imported it into a new

norm
(created with excel 200) and it recoginized the ucase, etc with no

problem.
This is the first time i have ever had a problem with those commands. I

did
another form at home and took it to work and same problem. Do i need to
convert or save the .xls in a different format?

second question:
Another form ised a Listview i added to the toolbox. I used a simople
command for it i.e.
dim x as listitem
for each x in listview1
msgbox x.text
next

this works great at home but at work it doesn't recoginize the listitem
command. When i added the listview to the toolbox at work, it found it

no
problem.
Is there a way of coding a refernece or imports(such as in vb.net) that

will
allow excel to recoginize the listitem command without adding it to the
toolbox?

thanks alot for the help
Dan Butler






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
Finding a single word match in a text string and assigning a code Morton Detwyler[_2_] Excel Worksheet Functions 6 September 15th 09 09:18 PM
Finding Office and Last Code Used on Acct Based on Multiple Critie Robert Excel Discussion (Misc queries) 3 December 6th 06 11:23 AM
Can any one suggest code/formula for finding the CAGR srinivasan Excel Worksheet Functions 5 November 21st 06 09:22 PM
Problem finding duplicate values nicoll Excel Programming 1 September 28th 03 10:46 PM
Problem finding vbModal on users PC Mark Desrosiers Excel Programming 1 August 11th 03 07:55 PM


All times are GMT +1. The time now is 11:49 AM.

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"