I am trying to save a single worksheet from a workbook into a location of the user's choice. The worksheet I want to save has images that change depending on values from another worksheet inside the workbook. My code looks something like this
Sub SaveWorksheet()
blah = Val(Sheet1.ComboBox1)
if blah = (number) then
Sheet4.Image1.Picture = LoadPicture("reference.jpg"
end if
**Filename = Application.GetSaveAsFilename
Application.Worksheets.Application.SaveWorkspace (Filename)**
End Sub
What I have saves the whole workbook into the location of choice, but I just want Sheet4 to be saved as a pdf to another location.