Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Our company has multiple locations with a server at the main office where all
of our data is accessed and stored. Is it possible to use VBA from a remote location to access data in an Excel 2007 Document from that server? If there is a solution can you please point me in the right direction. Thank you. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can do it manually while recording a macro. Try the following from
worksheet menu Data - Import External Data - New Database Query Select Excel File. "JeremyJ" wrote: Our company has multiple locations with a server at the main office where all of our data is accessed and stored. Is it possible to use VBA from a remote location to access data in an Excel 2007 Document from that server? If there is a solution can you please point me in the right direction. Thank you. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Joel,
I don't how but sometimes I forget about that tool. Thank you for the reply. I'll give it a try. "Joel" wrote: You can do it manually while recording a macro. Try the following from worksheet menu Data - Import External Data - New Database Query Select Excel File. "JeremyJ" wrote: Our company has multiple locations with a server at the main office where all of our data is accessed and stored. Is it possible to use VBA from a remote location to access data in an Excel 2007 Document from that server? If there is a solution can you please point me in the right direction. Thank you. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub SaveXML()
activesht.Copy Set NewSht = ActiveSheet Set NewBK = ActiveWorkbook fileSaveName = Application.GetSaveAsFilename( _ fileFilter:="XML Files (*.xml), *.xml") If fileSaveName = False Then MsgBox ("Cannot Save file - Exiting Macro") Exit Sub End If With NewSht.Cells .Replace "ABC", "DEF" .Replace ",", ";" .Replace "^", "$" End With NewBK.SaveAs _ Filename:=fileSaveName, _ FileFormat:=xlXMLSpreadsheet End Sub "JeremyJ" wrote: Joel, I don't how but sometimes I forget about that tool. Thank you for the reply. I'll give it a try. "Joel" wrote: You can do it manually while recording a macro. Try the following from worksheet menu Data - Import External Data - New Database Query Select Excel File. "JeremyJ" wrote: Our company has multiple locations with a server at the main office where all of our data is accessed and stored. Is it possible to use VBA from a remote location to access data in an Excel 2007 Document from that server? If there is a solution can you please point me in the right direction. Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
access internet through VBA | Excel Programming | |||
Is it possible to access internet explorer settings by vba | Excel Programming | |||
Request to access the Internet | Setting up and Configuration of Excel | |||
Unable to access Internet from Excel | Excel Worksheet Functions | |||
internet access | Excel Discussion (Misc queries) |