+ Reply to Thread
Results 1 to 2 of 2

WritetoSheet causing "invalid procedure call or argument"

Hybrid View

cmb80 WritetoSheet causing "invalid... 09-11-2013, 03:37 PM
protonLeah Re: WritetoSheet causing... 09-11-2013, 03:46 PM
  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    WritetoSheet causing "invalid procedure call or argument"

    Part of my VBA code has a line
    WriteToSheet_fix1 sText4, url1
    sText4 = ""
    This is causing an "invalid procedure call or argument" message to flag up.

    Anyone have any ideas if this can be omitted, changed? Once i click ok the remaining macro seems to run

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,935

    Re: WritetoSheet causing "invalid procedure call or argument"

    How can we tell without the entire macro? Evidently you have another macro/function WriteToSheet_fix1...
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Invalid Call or Argument" in While Loop using MyFile = Dir
    By rogerdavid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2013, 02:18 AM
  2. Invalid Procedure Call or Argument?
    By aloha31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 08:24 PM
  3. Invalid procedure call or argument
    By krish T in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2010, 10:01 AM
  4. "Invalid procedure call or argument" error when creating Pivot table
    By Kaigi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2009, 06:02 AM
  5. Invalid Procedure call or argument
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2006, 10:05 AM

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