hi again,
I am receiving the error message Run Time Error '94' Invalid use of null when running my program.
here is the code where the error is being caused:
thanks,![]()
Please Login or Register to view this content.
stoey
hi again,
I am receiving the error message Run Time Error '94' Invalid use of null when running my program.
here is the code where the error is being caused:
thanks,![]()
Please Login or Register to view this content.
stoey
The error generally mean that you are trying to use an object / item which is not defined..
Might be you text box name is spelt differently and you are trying to call it by different spelling
If you can post the workbook , we can try to find the error
Shijesh Kumar
http://shijesh.wordpress.com/
here's the sample workbook requested
You are tring to load data from 90 cells into one label, most of which are empty so there is nothing to display.
Why are you doing this?
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
error is in this part of code
in the first line you have defined a range G10:G100... which will have 90 different values..![]()
Please Login or Register to view this content.
And in the below code u are calling that 90 values in one text box .. which is not possible...
try modifying the above code to
"G10:G10" " , "h10:h10" and "i10:i10"
![]()
Please Login or Register to view this content.
hi,
to answer roy's question:
i would like to display the training,time and date using label on a userform. So if a user enters the training, time and date title on any of the cells on that column, the values will still appear on the userform. any suggestions you have to improve this?You are tring to load data from 90 cells into one label, most of which are empty so there is nothing to display.
Why are you doing this?
question to Shijesh,
will the values entered in any of those cells under the training,time and date be displayed still on the userform?
hi Shijesh,
i just tried changing:
to![]()
Please Login or Register to view this content.
but it doesn't work![]()
Please Login or Register to view this content.
Hi
Test the attachement.
hi Shijesh,
I tried the attachment you sent, i place some values on row 16 of column training title,time and date. when i run the userform, the label is empty for the training title, time and date.
You need to explain how the program should know which date to display from column G.
Is it the first item in the list, excluding empty rows or maybe the last item in the list.
You could event loop though all the records and buiild a string containing all dates and show that but that would not appear to make sense.
Take some time to explain what you are trying to do rather than make us guess.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks