+ Reply to Thread
Results 1 to 4 of 4

Problem with Multiple Ranges

  1. #1
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479

    Problem with Multiple Ranges

    I am using excel 2000

    I have a spreadsheet into which sales data is enterred, for a range of cells e120:e138, named xEuro, the data is enterred as euros and automatically converts to £

    The code is as follows:
    Please Login or Register  to view this content.
    I now want to extend the range, to include 12 columns of data, but get an error message "Compile error wrong number of arguments or invalid property assignment" when I have more than 2 columns in the range

    The code I have tried is as follows:
    Please Login or Register  to view this content.
    What do I need to change to be able to add multiple ranges

    Thanks in advance for any help

    Paul
    Last edited by VBA Noob; 04-12-2007 at 01:29 PM.
    Paul

  2. #2
    Forum Contributor
    Join Date
    11-17-2006
    Posts
    152
    Have you tried that?

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by jonn
    Have you tried that?

    Please Login or Register  to view this content.
    If I use the above any entries in columns between E and K will cahnge when I only want E and K to change

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    use

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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