initialfilename

  1. N

    File name suggestion to read only workbook when save as dialog box pops up

    Is there any way, using VBA, to set the file name in the save as dialog box when the user exits the workbook or selects the save/save as via the File menu, The workbook is protected as read only and the save as dialog box automatically pops up as a result; however, I want to have a filename...
  2. Jaafar Tribak

    FileDialog InitialView Property doesn't work !

    Hi dear forum members, Sub Test() Dim oDlg As FileDialog Set oDlg = Application.FileDialog(msoFileDialogOpen) With oDlg .Title = "Select a file" .InitialFileName = "C:\MyPictures" .AllowMultiSelect = False .InitialView =...
  3. H

    Save as PDF with workbook's name

    Hi, I have the following code: Dim fileSaveName As Variant wbName = ActiveWorkbook.Name fileSaveName = Application.GetSaveAsFilename(initialFilename:=wbName) If VarType(fileSaveName) = vbBoolean Then Exit Sub fileSaveName = Left(fileSaveName, Len(fileSaveName) - 1)...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top