
Sherry Fox
Poinciana, FL
Member
Members

Forum Posts: 71
Member Since:
December 4, 2021
December 4, 2021

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: Catalin Bombea, Murat Hasanoglu
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27291
Member Stats:
Guest Posters: 49
Members: 31913
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
