Sherry Fox
Poinciana, FL
Member
Members
Forum Posts: 148
Member Since:
December 4, 2021
December 4, 2021
Offline
Macro needs some help. This macro works, but I want it to do one more thing. I have a button for it on my ribbon, as I use it often. I have a hard coded path for this macro, and the filename is in cell B28 of the file. What I want to accomplish is to save a COPY of the file with the file name in cell B28, and leave my template open, with no cells entered. I have done this before, but I cannot find the code. Can anyone help? Thanks in advance.
Sub SaveAppSubmit()
Dim SaveName As String
SaveName = ActiveSheet.Range("B28").Text
ActiveWorkbook.SaveAs filename:="D:\Documents\New\" & _
SaveName & ".xlsx"
End Sub
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Anders Sehlstedt
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1939
SunnyKow: 1432
Anders Sehlstedt: 928
Purfleet: 415
Hans Hallebeek: 352
Frans Visser: 349
David_Ng: 312
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Dhanushka Rathnayake
Rena Towles
Wim Verhaege
Shavirai Mawere
Macarena Verdugo
Linlin Reid
Francisco Barrera
Terry McAuliffe
Michel Richard
James Ramsey
Forum Stats:
Groups: 3
Forums: 25
Topics: 7093
Posts: 31094
Member Stats:
Guest Posters: 49
Members: 34521
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —