Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ed ed is offline
external usenet poster
 
Posts: 59
Default Assign a variables value to a TextBox

I am using the application.getfile in the following
manner to send the selected applications path to a
variable. But I don't know how to send it to a textbox.


dim strpath as string

application.getopenfilename = strpath


Thanks
Edward

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Assign a variables value to a TextBox

dim strpath as string

strPath = application.getopenfilename
Useform1.Textbox1.Value = strPath

--
Regards,
Tom Ogilvy

ed wrote in message
...
I am using the application.getfile in the following
manner to send the selected applications path to a
variable. But I don't know how to send it to a textbox.


dim strpath as string

application.getopenfilename = strpath


Thanks
Edward



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
Calculate Textbox value based on another textbox value.doc Tdungate Excel Discussion (Misc queries) 1 February 12th 09 07:11 PM
Calculate Textbox value based on another textbox value Tdungate Excel Discussion (Misc queries) 0 February 12th 09 07:03 PM
Not at all clear on use of variables and/or object variables JMay-Rke Excel Discussion (Misc queries) 11 July 4th 08 06:36 PM
How to assign value to a textbox. Arun Kumar Saha Excel Worksheet Functions 0 December 4th 07 02:15 AM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


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