Show buttons on copied sheets in Excel



Show buttons on copied sheets in Excel. A method of having buttons are your copied sheets. Check out my online courses www.easyexcelanswers.com/courses.html
All my courses include online support and a user manual
Let me teach you the VBA that I have learn in my five years of consulting

Let’s take the frustration out of user forms

Become an Affiliate and earn 25% on Course Sales

For more help visit my website www.easyexcelanswers.com or email me at easyexcelanswers@gmail.com.

Contact me regarding customizing this template for your needs.

Click for online Excel Consulting

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

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

Check out Crowdcast for creating your webinars

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.

code
Sub everyfourwks()
Dim nextdate As Date
Dim ndate As Date
Dim cnt As Long
Dim wknum As Long
Dim days As Integer
Dim Name As String
Dim sdate As Date
days = 28

ActiveSheet.Range(“A1”).Select
ActiveSheet.Range(“A1”).NumberFormat = (“dd-mmm-yyyy”)
sdate = ActiveSheet.Range(“A1”).Value
Cells.EntireColumn.AutoFit

sdate = ActiveSheet.Range(“A1”).Value
nextdate = sdate + days
wknum = 1
cnt = 0
Do While cnt is (less than)1

Sheets.Add After:=Sheets(Sheets.Count)
Sheet2.Range(“A3:AC36”).Copy

ActiveSheet.Cells(3, 1).PasteSpecial xlPasteAll
Application.CutCopyMode = False

ActiveSheet.Range(“A1”).NumberFormat = (“dd-mmm-yyyy”)
ActiveSheet.Range(“A1”).Value = nextdate
Cells.EntireColumn.AutoFit
ActiveSheet.Name = Format(nextdate, “dd-mmm”)
Call makebut
Call schbut
cnt = cnt + 1
Loop
End Sub

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
0 Comments
Phản hồi nội tuyến
Xem tất cả bình luận