+ Reply to Thread
Results 1 to 2 of 2

Simple concatenation in macro not working...

  1. #1
    Registered User
    Join Date
    04-05-2012
    Location
    SLC, UT
    MS-Off Ver
    Excel 2003
    Posts
    7

    Simple concatenation in macro not working...

    I am trying to put the following lines in a macro. If I replace the concatenation with a specific value (i.e. 9617) it works just fine. I don't understand why it is not working as listed. I get a Run-time error '1004': Method 'Range' of object_'Global' failed.

    Please Login or Register  to view this content.
    Any suggestions would be appreciated. I know I am missing something dumb.

    Thanks,
    Dave
    Last edited by jeffreybrown; 10-02-2012 at 06:20 PM.

  2. #2
    Forum Contributor
    Join Date
    07-27-2012
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    196

    Re: Simple concatenation in macro not working...

    It should work if you don't convert sLastRow to text. Remove the Str function.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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