Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need to read a file when a datasheet is opened, and store the value read within a global variable (in Sheet1). How do I do this? Thanks, Aine. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 1 Aug, 13:27, wrote:
Hi, I need to read a file when a datasheet is opened, and store the value read within a global variable (in Sheet1). How do I do this? Thanks, Aine. It depends on what you mean by read a file - did you want to open it for input, is it an excel sheet? Something like open "c:\test.txt" for input as #1 input 1, a close range("C1").value=a |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Either save it in the Templates directory or in the StartUp directory.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel datasheet needs dividing into more datasheets | Excel Discussion (Misc queries) | |||
Using excel built-in form, through VBA, script to initialize it | Excel Programming | |||
Userform Initialize & Command Button, Excel 2000 & 2003 | Excel Programming | |||
Automate Excel to powerpoint - Graphs along with Datasheet (not workbook) | Charts and Charting in Excel | |||
SetFocus does not show cursor in initialize (Excel VBA) | Excel Programming |