How to link Cells with VBA when taking data from other sheets



How to link Cells with VBA when taking data from other sheets. Link so that they reflect changes made on the new sheet.
For more help visit my website or email me at easyexcelanswers@gmail.com.

Contact me regarding customizing this template for your needs.

Excel one-on-one on-line training available. Email me to arrange.

I am able to provide online help on your computer at a reasonable rate.

Check out my next one-hour Excel Webinar

I use a Blue condenser Microphone to record my videos, here is the link

Check out Crowdcast for creating your webinars

If you need to buy Office 2019 follow

I use Tube Buddy to help promote my videos
Check them out

Follow me on Facebook

TWEET THIS VIDEO

Follow me on twitter
easyexcelanswers

IG @barbhendersonconsulting

You can help and generate a translation to you own language

*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I’ve used or have experience with.

Watch more new videos about Excel Office | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
5 Comments
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận

Thanks a million!

Rui Manso

You can do it in one go…

Sub LinkCells()

Sheet1.Cells(Selection.Row, 2).Formula = "=Tom!" & Cells(4, 2).Address(False, False)

End Sub

You should avoid using Select. Takes on performance…

Logic

can u use higher resolution on ur recording its really hard to see the code. Thx.

animals42life

what about linking the name of a sheet to that code on a VBA? Example my code on vba includes the name of that sheet, but when i copy the sheet and rename it to some new name, i had to individually change the previous code in the vba to refer it to the new sheet. what if the name of that code is dynamically changed when the name of the sheet is also changed?

Automation Guide

Please don't mind , This is my suggestion.

You have declared two worksheet variables and you haven't set (or) define the worksheet to those variables.

Even though, you have got the desired result,

I would like to see the code in readable format.

Thank You !!