Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Trying to cobble together two bis of code (Unsuccessfully)

Hi Keith,

Thanks for responding :-)

I don't think so

I'm probably missing something really important

Thanks anyway
--
Deirdre


"Keith74" wrote:

Does using

MsgBox cstr(MyPath)

make a difference ?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Trying to cobble together two bis of code (Unsuccessfully)

Hi

The reason i said that is that the msgbox will only accept a variable
it can display as a string, i'm guessing you're getting the "type
mismatch" on the message box. Put a watch on myPath and step through
the code to see what value myPath has. It looks like myPath is
probably the wrong variable to be using.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Trying to cobble together two bis of code (Unsuccessfully)

Hi Keith,

You are right

Watch : : mypath : <Expression not defined in context : Empty :
UnProtSheetsinBooksInFolder.unprotectshts

I'm lost !


--
Deirdre


"Keith74" wrote:

Hi

The reason i said that is that the msgbox will only accept a variable
it can display as a string, i'm guessing you're getting the "type
mismatch" on the message box. Put a watch on myPath and step through
the code to see what value myPath has. It looks like myPath is
probably the wrong variable to be using.


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
split post code (zip code) out of cell that includes full address Concord Excel Discussion (Misc queries) 4 October 15th 09 06:59 PM
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... Corey Excel Programming 4 November 25th 06 04:57 AM
Excel code convert to Access code - Concat & eliminate duplicates italia Excel Programming 1 September 12th 06 12:14 AM
Testing (unsuccessfully) for non-blanks Coach Excel Programming 0 August 10th 06 05:12 AM
(Unsuccessfully!) Unhiding Rows in Excel 2003 [email protected] Excel Worksheet Functions 6 May 24th 06 08:17 PM


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