+ Reply to Thread
Results 1 to 6 of 6

Cells value insert into macro Formula

  1. #1
    Registered User
    Join Date
    07-17-2005
    Posts
    10

    Cells value insert into macro Formula

    Hello everybody,
    help me please.
    My Problem. I have the Cells value as examble:
    Cells (1, 6) has value "F9:AV9" and this value is variable.
    I need this information as parameter to insert in the following macro formula:
    Sheets("ARHIV").Range("F9:AV9").Copy
    to transpose in to Column.
    Maybe is possible?
    Thank you very much
    Fidele

  2. #2
    Valued Forum Contributor
    Join Date
    10-15-2007
    Location
    Home
    MS-Off Ver
    Office 2010, W10
    Posts
    373
    Hi Fidele

    If Cells (1, 6) has value the text value "F9:AV9" (without the quotes) you can use:

    Please Login or Register  to view this content.
    if Cells(1,6) is also in sheet "ARHIV" or just

    Please Login or Register  to view this content.
    if Cells(1,6) is in the active sheet.

    HTH
    lecxe

  3. #3
    Registered User
    Join Date
    07-17-2005
    Posts
    10
    Thanks Iecxe,
    sorry but not works - error '1004'

    "F9:AV9" is the text as actual (changeable) information in Sheets(Arhiv").Cells(1, 6) for actual existig rows in the same Sheets.
    Solution is "automatic copyng" the rows via macro formula:
    Please Login or Register  to view this content.
    Salute
    Fidele
    Last edited by royUK; 06-26-2008 at 10:24 AM.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Fidele

    Please use Code tags when posting code, this is covered in the Forum Rules.

    Try
    Please Login or Register  to view this content.
    Last edited by royUK; 06-26-2008 at 10:26 AM.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you are copying & pasting from one sheet then

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-17-2005
    Posts
    10
    Mama mia,
    it works, it works!
    Thank you very much, royUK!
    Nice day
    Fidele

+ 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