Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Workbooks.Open not functioning properly

Bashir,
not your immediate problem, but your code shows:

<snip
Message = "Insert the file name of the GAP rate sheet."
Title = "GAP02"
Default = "input file name with .xls"
GapName = InputBox(Message, Title, Default)
<snip
Windows(GapName).Activate
<snip

Without anything to open GapName, unless I'm missing something ??

Again, what error number are you getting ? And what is the value of
"rateSheet" ? maybe if you declared it as a string, it would help ?

NickHK

"intikhab bashir" wrote in message
...
This is a classic case of adopting someones code who left. The GapName
file is used below and holds the rates.

When the macro runs it just stops at the line with no error. It seems
to open the same file and then stop.

Thanks in advance,
Intikhab.

----------------
not a programmer
but trying!!!!!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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 arrow keys do not seem to be functioning properly. Any ideas? paul44 Excel Discussion (Misc queries) 1 February 20th 10 12:51 AM
merge and compare workbooks button not functioning Tracy Excel Worksheet Functions 3 February 7th 08 01:46 AM
F2 key is not functioning properly [email protected] Excel Discussion (Misc queries) 4 May 9th 07 06:12 PM
Read Only Not Functioning Properly Shelagh Excel Discussion (Misc queries) 0 April 21st 06 10:24 AM
the auto date feature is not functioning properly - how to reset E. Ruth Cummins New Users to Excel 3 November 15th 05 02:31 AM


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