LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default pass cell value as string to function

Rowan Drummond wrote in
:

When you declare variables like this:
Dim test1, test2, test3 As String
only test3 is declared as a String. test1 and test2 will be assigned
the DataType Variant. UpdateAll is looking for a variable with a
string datatype.

Change your decleration to
dim test1 as string, test2 as string, test3 as string

or
Dim test1 as string
dim test2 as string
dim test3 as string

Hope this helps
Rowan


Gah! Yes, that helps.

fyb
 
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
Pass string value to another form yangyh[_5_] Excel Programming 1 September 11th 05 10:01 AM
Pass multiple characters to a string variable ExcelMonkey Excel Programming 5 July 19th 05 11:26 AM
TypeLib Information Problem? Pass a Function's parameter names as string for parsing? Ali G Excel Programming 1 December 3rd 04 07:02 PM
Pass string as Parameter in OpenText method No Name Excel Programming 0 January 8th 04 06:22 AM
Can we Pass String to FieldInfo Array to OpenText Method. Niraj Kumar Singh Excel Programming 0 January 8th 04 05:35 AM


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