Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am using Excel97 VBA to populate named cells on Sheet1. The source data is in Sheet2 (All cells formatted 'General'. I have code to pick up the values into an array and it works fine. My issue is that Sheet1 cells that are formatted as %s are *sometimes* (I can't see the pattern) reformatted to the time format when I place a value in them. I.e. What should be 92% can show up as 10:04:48 PM The code I am using to populate the named cells is: for i = 1 to 500 valueName=myvalues(i,1) Thisworkbook.names(valueName).referstorange.value = myvalues(i,2) next Any ideas? Thanks, Michael Deathya |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format of cells Changing on thier own | Excel Worksheet Functions | |||
Hyperlinks in Excel are randomly changing | Excel Discussion (Misc queries) | |||
changing dates in a date formated column ? | Excel Discussion (Misc queries) | |||
Copying a format that has been conditionally formated | Excel Discussion (Misc queries) | |||
randomly select value WITHOUT changing | Excel Worksheet Functions |