Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Looking for macro code that will save the current workbook to the desktop of
the current user that is signed on to XP. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Marvin
Test this one Sub Desktoptest() Dim WSHShell As Object Dim DesktopPath As String Set WSHShell = CreateObject("WScript.Shell") DesktopPath = WSHShell.SpecialFolders("Desktop") ActiveWorkbook.SaveAs DesktopPath & "\test.xls" Set WSHShell = Nothing End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Marvin" wrote in message ... Looking for macro code that will save the current workbook to the desktop of the current user that is signed on to XP. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Marvin" wrote in message ... Looking for macro code that will save the current workbook to the desktop of the current user that is signed on to XP. Try he http://groups.google.com/group/micro...@tkms ftngp08 Good luck, George |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I save an excel worksheet as my desktop image? | Excel Discussion (Misc queries) | |||
Macro to save excel sheet in a workbook | Excel Discussion (Misc queries) | |||
Macro - Save file in Desktop | Excel Worksheet Functions | |||
Macro in Excel 2002 to save a workbook to a FTP location | Excel Discussion (Misc queries) | |||
Save web page as desktop file from Excel/VBA | Excel Programming |