Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:56:21+00:00 2026-06-04T20:56:21+00:00

I have asked and provided my own answer, although it is not good but

  • 0

I have asked and provided my own answer, although it is not good but it works.
Previous Question

However, now I would like to link cells from another sheet. However, the program I wrote could not make reference among cells from one sheet to another sheet.

Example

Sheet1, Column A

Sheet2, row 1

I want to have

Sheet1!A1 = Sheet2!A1
Sheet1!A2 = Sheet2!B2

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:56:22+00:00Added an answer on June 4, 2026 at 8:56 pm

    Is this what you are trying by any chance?

    Option Explicit
    
    Sub Sample()
        Dim cRange As Range, rrange As Range
        Dim i As Long, j As Long
        Dim cPrompt As String, cTitle As String
        Dim rPrompt As String, rTitle As String
    
        On Error GoTo Whoa
    
        cPrompt = "Please Choose a Column without Header"
        cTitle = "Specify Column Range"
    
        rPrompt = "Please Choose Starting cell"
        rTitle = "Specify row Range"
    
        Set cRange = Application.InputBox(cPrompt, cTitle, Type:=8)
        Set rrange = Application.InputBox(rPrompt, rTitle, Type:=8)
    
        For i = 1 To cRange.Count
            rrange.Offset(j).Formula = "=" & cRange.Parent.Name & _
            "!" & cRange.Cells(1, i).Address
    
            j = j + 1
        Next i
    
        Exit Sub
    Whoa:
        MsgBox Err.Description
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have asked this question before but did not get the satisfied answer as
i have asked a question about manytomanyfield here which i solved but now a
I asked this question before but with less information than I have now. What
I have asked this before but I didn't get the question right so the
I know questions like this have been asked numerous times, but not quite this
I have asked this question earlier today but I didn't provide enough information and
In interview I have been asked following question. I tried to answer the question
I know many have asked this question before, but as far as I can
This question has to have been asked before, but I think the search terms
I know that similar questions have been asked before but the provided answers don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.