+ Reply to Thread
Results 1 to 5 of 5

error Icon 400

  1. #1
    Registered User
    Join Date
    04-26-2012
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    7

    error Icon 400

    Hi all,

    I regularly extract a excel sheet from a financial system. I grabbed portions of VBA coding (i am not a coder) on the net so i can do the following smoothly and easily:

    A- insert of image from hardrive
    B- assign this image a CTRL +F function
    C- highlight the row and column of the current active cell to easily read related information on one line

    and

    D- I recorded a macro to reshaped the file presentation in a click.

    those macros are stored on a "extractionsupport.xlsm" file. so when i do a Excel extraction from my financial system in a file called "data.xls", I open the "extractionsupport.xlsm" at the same time containing macro recordings , and launch those macro from and for "data.xls"

    A and B work fine, but c doesn't (nothing happens) and D : i got an red cross error icon with the text "400".
    Strange thing is that if i launch those macros on the hosted file ("extractionsupport.xlsm"), it works fine.

    here is the coding :

    Please Login or Register  to view this content.
    I hope this is clear ...
    I don't understand any piece of code... so i am really lost... your help would be much welcomed :)
    thank you so much guys !!!

    Celiostat

    ps : let me know if you need more piece of information ! or the excel file
    Last edited by Leith Ross; 04-26-2012 at 08:34 PM. Reason: Added Code Tags

  2. #2
    Registered User
    Join Date
    04-26-2012
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: error Icon 400

    Hello guys,

    Nobody has an idea ?
    Thanks for your help !

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: error Icon 400

    Hello cellostat,

    When working with different versions of programs there can be problems. Problems like properties or methods that exist in one version but not the other. That is the case here. I have made changes to your code so it will work with either version. In VBA it is rare to have to select something before you can perform an action. You will see an absence of "Select" and "Selection" in the code.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    04-26-2012
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: error Icon 400

    Hi Leith,

    I appreciate your response and help, but I still have the error message ! when trying to run the macro from the "data.xls" sheet !
    Anything I could do to help ?

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: error Icon 400

    Hello cellostat,

    After your last post, I think it best if you post a copy of the workbook for review. It will answer a lot more questions faster.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1