Results 1 to 6 of 6

Variable Range - Set Rows AND Columns as variables

Threaded View

JonasBig2 Variable Range - Set Rows AND... 09-20-2018, 04:23 AM
YasserKhalil Re: Variable Range - Set Rows... 09-20-2018, 04:26 AM
JonasBig2 Re: Variable Range - Set Rows... 09-20-2018, 04:47 AM
YasserKhalil Re: Variable Range - Set Rows... 09-20-2018, 04:57 AM
JonasBig2 Re: Variable Range - Set Rows... 09-20-2018, 05:01 AM
YasserKhalil Re: Variable Range - Set Rows... 09-20-2018, 05:08 AM
  1. #1
    Registered User
    Join Date
    08-21-2018
    Location
    Germany
    MS-Off Ver
    MS Office 2016
    Posts
    24

    Exclamation Variable Range - Set Rows AND Columns as variables

    Hi guys,

    i Need to have a variable range for selecting shapes in a specific range on my sheet.
    My Code can already shift the range on any row (easy because of Number Format). But how can i set variables instead of column letters (like A or S in the example) to enable also a shift in columns.

       dynRange = "A" & dynA & ":S" & dynS
    
            For Each shp1 In sheet1.Shapes
            If Not Intersect(Range(dynRange), shp1.TopLeftCell) Is Nothing Then
                shp1.Select Replace:=False
            End If
            Next shp1
            Selection.Copy
    Look in the attachment for further Explanation and a sample set to try your solution on.
    I appreciate any help.
    Attached Files Attached Files
    Last edited by JonasBig2; 09-20-2018 at 04:45 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Text to rows and not columns when you have multiple variables
    By sharma06shubham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2016, 01:23 AM
  2. continuous variables across columns and rows
    By freak11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2014, 07:49 PM
  3. Two variable data table - both variables in rows
    By kbka in forum Excel General
    Replies: 8
    Last Post: 12-01-2013, 11:08 AM
  4. Replies: 3
    Last Post: 09-11-2012, 02:03 AM
  5. [SOLVED] Using variables in range columns
    By construct in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2012, 09:45 AM
  6. Using Variables in Ranges to select entire rows or columns
    By BeefNoodleSoup in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2012, 12:37 AM
  7. [SOLVED] Grouping Rows with Range Variables
    By Dan G. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2006, 03:35 AM

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