+ Reply to Thread
Results 1 to 2 of 2

Vba variabel problem

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    Sweden
    MS-Off Ver
    Office 2016
    Posts
    5

    Vba variabel problem

    Namnlös.png

    Hello!

    Please Login or Register  to view this content.
    I would like som help with some vba. Im very new to this. Not excel, but vba. What I am trying to do is put c2:s value inside of the [] that refers to the array. So depending on what value i put in c2 I want that value to be between []. Im using the variabel "city" to try to solve this.

    When trying to run the macro it says "run-time error 1004:" and "The items could not be found in the OLAP Cube". Any thoughts on what I could do? Would really appreciate help
    Last edited by beerger; 04-23-2019 at 07:41 PM.

  2. #2
    Registered User
    Join Date
    04-23-2019
    Location
    Sweden
    MS-Off Ver
    Office 2016
    Posts
    5

    Re: Vba variabel problem

    Hope the edits I did are sufficient. Thanks for telling me

+ 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. Posible to define variable for table?
    By sombreroeistee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-06-2018, 12:41 PM
  2. Variabel text in MID. VLOOKUP?
    By Bman84 in forum Excel General
    Replies: 7
    Last Post: 06-22-2017, 06:49 AM
  3. Variabel data range of formulas and charts
    By mark02 in forum Excel General
    Replies: 1
    Last Post: 12-13-2012, 10:04 PM
  4. how to change criteria Range become variabel in advanceFilter
    By venol in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2011, 11:40 AM
  5. Using a variabel columnIndex in Vlookup function
    By Hein in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2009, 03:34 AM
  6. How to replace a filename by a variabel
    By Dibo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2006, 06:27 PM
  7. getting the sum of variabel ranges
    By Hein in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-26-2006, 02:44 PM

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