Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Placing cursor in message box

I have the following code

quotenumber = InputBox("Please enter QUOTE number to recall from your hard
drive. If recalling a quote from the server type in
\\server3\jobs\estimate1\quick quotes3\ and the estimate number ", "The
Company", "C:\Quick Quotes3\")
QUOTE = quotenumber & ".XLS"

As shown it highlites the quote number .xls. I want it to place the curcor
at the .xls

oldjay
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Placing cursor in message box

Oljay,

If the quotes are stored in a specific directory then don't give the user
the chance to change the directory. You can just tie together the variables
as you did with Quotenumber and "xls". You would have an issue if the
directory "quick quotes 3" is not on the machine, however, you can run code
to test for it and/or create it. On the server you may want to have the user
type the word "server" and then the quote number. You can test your variable
for the word "server" then use the path '\\server3\jobs\estimate1\quick
quotes3\' + quotenumber to locate the file.


"Oldjay" wrote:

I have the following code

quotenumber = InputBox("Please enter QUOTE number to recall from your hard
drive. If recalling a quote from the server type in
\\server3\jobs\estimate1\quick quotes3\ and the estimate number ", "The
Company", "C:\Quick Quotes3\")
QUOTE = quotenumber & ".XLS"

As shown it highlites the quote number .xls. I want it to place the curcor
at the .xls

oldjay

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
My cursor always in selection mode,wat about other cursor option Deepu[_2_] Excel Discussion (Misc queries) 1 March 2nd 10 01:05 AM
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
Putting Cursor in Cell A1 of each Worksheet, then ending cursor on smalest sheet name according to VBA Editor Matt[_40_] Excel Programming 1 May 14th 07 09:21 AM
Placing Cursor in a Cell Mim Excel Programming 2 June 21st 06 12:45 PM
Can I change the "white cross" cursor in Excel to another cursor? KFEagle Excel Discussion (Misc queries) 1 May 3rd 05 08:01 PM


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